pub struct BlockData {
pub bix: u64,
pub block: Block,
pub transactions: Vec<Transaction>,
}Expand description
Full information about the block.
Fields§
§bix: u64Block number.
block: BlockBlock data.
transactions: Vec<Transaction>Included transactions.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockData
impl<'de> Deserialize<'de> for BlockData
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 BlockData
impl RefUnwindSafe for BlockData
impl Send for BlockData
impl Sync for BlockData
impl Unpin for BlockData
impl UnsafeUnpin for BlockData
impl UnwindSafe for BlockData
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