Struct modality_ingest_client::types::LogicalTime
source · pub struct LogicalTime(/* private fields */);
Expand description
A segmented logical clock
Implementations§
source§impl LogicalTime
impl LogicalTime
pub fn unary<A: Into<u64>>(a: A) -> Self
pub fn binary<A: Into<u64>, B: Into<u64>>(a: A, b: B) -> Self
pub fn trinary<A: Into<u64>, B: Into<u64>, C: Into<u64>>( a: A, b: B, c: C, ) -> Self
pub fn quaternary<A: Into<u64>, B: Into<u64>, C: Into<u64>, D: Into<u64>>( a: A, b: B, c: C, d: D, ) -> Self
pub fn get_raw(&self) -> &[u64; 4]
Trait Implementations§
source§impl Clone for LogicalTime
impl Clone for LogicalTime
source§fn clone(&self) -> LogicalTime
fn clone(&self) -> LogicalTime
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 LogicalTime
impl Debug for LogicalTime
source§impl Display for LogicalTime
impl Display for LogicalTime
source§impl Encode for LogicalTime
impl Encode for LogicalTime
source§impl Hash for LogicalTime
impl Hash for LogicalTime
source§impl Ord for LogicalTime
impl Ord for LogicalTime
source§impl PartialEq for LogicalTime
impl PartialEq for LogicalTime
source§impl PartialOrd for LogicalTime
impl PartialOrd for LogicalTime
impl Eq for LogicalTime
impl StructuralPartialEq for LogicalTime
Auto Trait Implementations§
impl Freeze for LogicalTime
impl RefUnwindSafe for LogicalTime
impl Send for LogicalTime
impl Sync for LogicalTime
impl Unpin for LogicalTime
impl UnwindSafe for LogicalTime
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)