pub struct RandomId(/* private fields */);Expand description
A simple, unique, time-ordered ID (zero-deps).
Consider using a ulid/uuid/nanoid in backend implementation This is a placeholder and does not guarantee/tested as the other implementations
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RandomId
impl<'de> Deserialize<'de> for RandomId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for RandomId
impl Ord for RandomId
Source§impl PartialOrd for RandomId
impl PartialOrd for RandomId
impl Eq for RandomId
impl StructuralPartialEq for RandomId
Auto Trait Implementations§
impl Freeze for RandomId
impl RefUnwindSafe for RandomId
impl Send for RandomId
impl Sync for RandomId
impl Unpin for RandomId
impl UnwindSafe for RandomId
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