pub struct LastBlock {
pub height: i64,
pub time: String,
pub chain_root: String,
pub state_root: String,
pub directory_anchor_height: u64,
}Expand description
Last block information
Fields§
§height: i64Block height
time: StringBlock timestamp
chain_root: StringChain root hash
state_root: StringState root hash
directory_anchor_height: u64Directory anchor height
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LastBlock
impl<'de> Deserialize<'de> for LastBlock
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
impl StructuralPartialEq for LastBlock
Auto Trait Implementations§
impl Freeze for LastBlock
impl RefUnwindSafe for LastBlock
impl Send for LastBlock
impl Sync for LastBlock
impl Unpin for LastBlock
impl UnsafeUnpin for LastBlock
impl UnwindSafe for LastBlock
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