pub enum FkrOption {
Uuidv4,
Uuidv7,
Email,
UserAgent,
IPv4,
IPv6,
MACAddress,
}Expand description
Available fake data types for generation.
Variants§
Uuidv4
Generates a version 4 UUID (random)
Uuidv7
Generates a version 7 UUID (timestamp-based)
Generates a realistic email address
UserAgent
Generates a browser user agent string
IPv4
Generates an IPv4 address
IPv6
Generates an IPv6 address
MACAddress
Generates a MAC address
Implementations§
Trait Implementations§
Source§impl IntoEnumIterator for FkrOption
impl IntoEnumIterator for FkrOption
type Iterator = FkrOptionIter
fn iter() -> FkrOptionIter ⓘ
impl Copy for FkrOption
Auto Trait Implementations§
impl Freeze for FkrOption
impl RefUnwindSafe for FkrOption
impl Send for FkrOption
impl Sync for FkrOption
impl Unpin for FkrOption
impl UnwindSafe for FkrOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Fake for T
impl<T> Fake for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more