Struct kvproto::pdpb::Timestamp[][src]

pub struct Timestamp {
    pub physical: i64,
    pub logical: i64,
    pub suffix_bits: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

physical: i64logical: i64suffix_bits: u32unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Timestamp[src]

pub fn new() -> Timestamp[src]

pub fn get_physical(&self) -> i64[src]

pub fn clear_physical(&mut self)[src]

pub fn set_physical(&mut self, v: i64)[src]

pub fn get_logical(&self) -> i64[src]

pub fn clear_logical(&mut self)[src]

pub fn set_logical(&mut self, v: i64)[src]

pub fn get_suffix_bits(&self) -> u32[src]

pub fn clear_suffix_bits(&mut self)[src]

pub fn set_suffix_bits(&mut self, v: u32)[src]

Trait Implementations

impl Clear for Timestamp[src]

impl Clone for Timestamp[src]

impl Debug for Timestamp[src]

impl Default for Timestamp[src]

impl<'a> Default for &'a Timestamp[src]

impl Message for Timestamp[src]

impl PartialEq<Timestamp> for Timestamp[src]

impl PbPrint for Timestamp[src]

impl ProtobufValue for Timestamp[src]

impl StructuralPartialEq for Timestamp[src]

Auto Trait Implementations

impl RefUnwindSafe for Timestamp

impl Send for Timestamp

impl Sync for Timestamp

impl Unpin for Timestamp

impl UnwindSafe for Timestamp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.