pub struct BlockInfo {
pub state_hash: String,
pub height: u64,
pub global_slot_since_hard_fork: u64,
pub global_slot_since_genesis: u64,
pub creator_pk: String,
pub command_transaction_count: i64,
}Expand description
Block info from the best chain.
Fields§
§state_hash: String§height: u64§global_slot_since_hard_fork: u64§global_slot_since_genesis: u64§creator_pk: String§command_transaction_count: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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