Trait mockable::UuidGenerator
source · pub trait UuidGenerator: Send + Sync {
// Required method
fn generate_v4(&self) -> Uuid;
}
Expand description
Required Methods§
sourcefn generate_v4(&self) -> Uuid
fn generate_v4(&self) -> Uuid
Generates a new UUID V4.