pub struct TimestampMs(pub u128);Tuple Fields§
§0: u128Implementations§
Source§impl TimestampMs
impl TimestampMs
pub const ZERO: TimestampMs
Trait Implementations§
Source§impl Add<Duration> for TimestampMs
impl Add<Duration> for TimestampMs
Source§impl BorshDeserialize for TimestampMs
impl BorshDeserialize for TimestampMs
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for TimestampMs
impl BorshSerialize for TimestampMs
Source§impl Clone for TimestampMs
impl Clone for TimestampMs
Source§fn clone(&self) -> TimestampMs
fn clone(&self) -> TimestampMs
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 moreSource§impl ComposeSchema for TimestampMs
impl ComposeSchema for TimestampMs
Source§impl Debug for TimestampMs
impl Debug for TimestampMs
Source§impl Default for TimestampMs
impl Default for TimestampMs
Source§fn default() -> TimestampMs
fn default() -> TimestampMs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimestampMs
impl<'de> Deserialize<'de> for TimestampMs
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 Display for TimestampMs
impl Display for TimestampMs
Source§impl Hash for TimestampMs
impl Hash for TimestampMs
Source§impl Ord for TimestampMs
impl Ord for TimestampMs
Source§fn cmp(&self, other: &TimestampMs) -> Ordering
fn cmp(&self, other: &TimestampMs) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimestampMs
impl PartialEq for TimestampMs
Source§impl PartialOrd for TimestampMs
impl PartialOrd for TimestampMs
Source§impl Serialize for TimestampMs
impl Serialize for TimestampMs
Source§impl Sub<Duration> for TimestampMs
impl Sub<Duration> for TimestampMs
Source§type Output = TimestampMs
type Output = TimestampMs
The resulting type after applying the
- operator.Source§impl Sub for TimestampMs
impl Sub for TimestampMs
Source§impl ToSchema for TimestampMs
impl ToSchema for TimestampMs
impl Eq for TimestampMs
impl StructuralPartialEq for TimestampMs
Auto Trait Implementations§
impl Freeze for TimestampMs
impl RefUnwindSafe for TimestampMs
impl Send for TimestampMs
impl Sync for TimestampMs
impl Unpin for TimestampMs
impl UnsafeUnpin for TimestampMs
impl UnwindSafe for TimestampMs
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.