Trait bones_framework::prelude::bones_utils::UlidExt

source ·
pub trait UlidExt {
    // Required method
    fn create() -> Self;
}
Expand description

Extension trait for Ulid.

Required Methods§

source

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.

Implementors§