pub struct GetBlock {Show 13 fields
pub timestamp: DateTime<Utc>,
pub producer: String,
pub confirmed: usize,
pub previous: String,
pub transaction_mroot: String,
pub action_mroot: String,
pub schedule_version: usize,
pub new_producers: Option<String>,
pub producer_signature: String,
pub transactions: Vec<BlockTransactions>,
pub id: String,
pub block_num: usize,
pub ref_block_prefix: usize,
}Fields§
§timestamp: DateTime<Utc>§producer: String§confirmed: usize§previous: String§transaction_mroot: String§action_mroot: String§schedule_version: usize§new_producers: Option<String>§producer_signature: String§transactions: Vec<BlockTransactions>§id: String§block_num: usize§ref_block_prefix: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for GetBlock
impl<'de> Deserialize<'de> for GetBlock
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 GetBlock
impl RefUnwindSafe for GetBlock
impl Send for GetBlock
impl Sync for GetBlock
impl Unpin for GetBlock
impl UnwindSafe for GetBlock
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