Expand description
Block height and timestamp of a block
Fields
height: u32
confirmation block height
timestamp: u64
confirmation block timestamp
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BlockTime
impl<'de> Deserialize<'de> for BlockTime
sourcefn 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
impl Eq for BlockTime
impl StructuralEq for BlockTime
impl StructuralPartialEq for BlockTime
Auto Trait Implementations
impl RefUnwindSafe for BlockTime
impl Send for BlockTime
impl Sync for BlockTime
impl Unpin for BlockTime
impl UnwindSafe for BlockTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more