Struct polyphony_types::utils::DeconstructedSnowflake
source · pub struct DeconstructedSnowflake {
pub timestamp: i64,
pub worker_id: u64,
pub process_id: u64,
pub increment: BigInt,
pub binary: String,
}Fields§
§timestamp: i64§worker_id: u64§process_id: u64§increment: BigInt§binary: StringTrait Implementations§
source§impl Clone for DeconstructedSnowflake
impl Clone for DeconstructedSnowflake
source§fn clone(&self) -> DeconstructedSnowflake
fn clone(&self) -> DeconstructedSnowflake
Returns a copy 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 moresource§impl Debug for DeconstructedSnowflake
impl Debug for DeconstructedSnowflake
source§impl PartialEq<DeconstructedSnowflake> for DeconstructedSnowflake
impl PartialEq<DeconstructedSnowflake> for DeconstructedSnowflake
source§fn eq(&self, other: &DeconstructedSnowflake) -> bool
fn eq(&self, other: &DeconstructedSnowflake) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DeconstructedSnowflake
impl StructuralEq for DeconstructedSnowflake
impl StructuralPartialEq for DeconstructedSnowflake
Auto Trait Implementations§
impl RefUnwindSafe for DeconstructedSnowflake
impl Send for DeconstructedSnowflake
impl Sync for DeconstructedSnowflake
impl Unpin for DeconstructedSnowflake
impl UnwindSafe for DeconstructedSnowflake
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