pub struct DecodedSnowflake {
pub id: u64,
pub timestamp: u64,
pub node_id: u32,
pub seq: u64,
pub epoch: u64,
}Fields§
§id: u64§timestamp: u64§node_id: u32§seq: u64§epoch: u64Trait Implementations§
Source§impl Clone for DecodedSnowflake
impl Clone for DecodedSnowflake
Source§fn clone(&self) -> DecodedSnowflake
fn clone(&self) -> DecodedSnowflake
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DecodedSnowflake
impl RefUnwindSafe for DecodedSnowflake
impl Send for DecodedSnowflake
impl Sync for DecodedSnowflake
impl Unpin for DecodedSnowflake
impl UnwindSafe for DecodedSnowflake
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