Trait bones_framework::prelude::UlidExt
source · pub trait UlidExt {
// Required method
fn create() -> Self;
}
Expand description
Extension trait for Ulid
.
Required Methods§
sourcefn create() -> Self
fn create() -> Self
Constructor that) is the same as Ulid::new()
, but that works on WASM, too using the
instant
crate.
Object Safety§
This trait is not object safe.