pub struct LedgerTimestamp {
pub timestamp_nanos: u64,
}Expand description
账本时间戳
Fields§
§timestamp_nanos: u64时间戳, 纳秒
Trait Implementations§
Source§impl CandidType for LedgerTimestamp
impl CandidType for LedgerTimestamp
Source§impl Clone for LedgerTimestamp
impl Clone for LedgerTimestamp
Source§fn clone(&self) -> LedgerTimestamp
fn clone(&self) -> LedgerTimestamp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LedgerTimestamp
impl Debug for LedgerTimestamp
Source§impl<'de> Deserialize<'de> for LedgerTimestamp
impl<'de> Deserialize<'de> for LedgerTimestamp
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
Auto Trait Implementations§
impl Freeze for LedgerTimestamp
impl RefUnwindSafe for LedgerTimestamp
impl Send for LedgerTimestamp
impl Sync for LedgerTimestamp
impl Unpin for LedgerTimestamp
impl UnsafeUnpin for LedgerTimestamp
impl UnwindSafe for LedgerTimestamp
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