pub struct UuidsGenerator { /* private fields */ }Expand description
Generator for UUID strings in canonical hyphenated form. Created by uuids().
By default generates UUIDs of any version. Use UuidsGenerator::version
to restrict to a specific RFC 4122 version (1–5).
Implementations§
Trait Implementations§
Source§impl Generator<String> for UuidsGenerator
impl Generator<String> for UuidsGenerator
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl Freeze for UuidsGenerator
impl RefUnwindSafe for UuidsGenerator
impl Send for UuidsGenerator
impl Sync for UuidsGenerator
impl Unpin for UuidsGenerator
impl UnsafeUnpin for UuidsGenerator
impl UnwindSafe for UuidsGenerator
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