pub struct APIBlock {
pub hash: ConsensusProposalHash,
pub parent_hash: ConsensusProposalHash,
pub height: u64,
pub timestamp: i64,
pub total_txs: u64,
}Fields§
§hash: ConsensusProposalHash§parent_hash: ConsensusProposalHash§height: u64§timestamp: i64§total_txs: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for APIBlock
impl<'de> Deserialize<'de> for APIBlock
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 APIBlock
impl RefUnwindSafe for APIBlock
impl Send for APIBlock
impl Sync for APIBlock
impl Unpin for APIBlock
impl UnsafeUnpin for APIBlock
impl UnwindSafe for APIBlock
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