Struct salvo_extra::request_id::UlidGenerator
source · pub struct UlidGenerator {}
Available on crate feature
request-id
only.Expand description
A generator for generate request id with ulid.
Implementations§
source§impl UlidGenerator
impl UlidGenerator
Trait Implementations§
source§impl Debug for UlidGenerator
impl Debug for UlidGenerator
source§impl Default for UlidGenerator
impl Default for UlidGenerator
source§fn default() -> UlidGenerator
fn default() -> UlidGenerator
Returns the “default value” for a type. Read more
source§impl IdGenerator for UlidGenerator
impl IdGenerator for UlidGenerator
Auto Trait Implementations§
impl Freeze for UlidGenerator
impl RefUnwindSafe for UlidGenerator
impl Send for UlidGenerator
impl Sync for UlidGenerator
impl Unpin for UlidGenerator
impl UnwindSafe for UlidGenerator
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