pub struct Block<Storage> {
pub slot: Slot,
pub blockhash: [u8; 32],
pub events: Storage,
}Expand description
A fully reconstructed block, containing all events (accounts, transactions, entries) for a given slot.
Fields§
§slot: Slot§blockhash: [u8; 32]§events: StorageTrait Implementations§
Auto Trait Implementations§
impl<Storage> Freeze for Block<Storage>where
Storage: Freeze,
impl<Storage> RefUnwindSafe for Block<Storage>where
Storage: RefUnwindSafe,
impl<Storage> Send for Block<Storage>where
Storage: Send,
impl<Storage> Sync for Block<Storage>where
Storage: Sync,
impl<Storage> Unpin for Block<Storage>where
Storage: Unpin,
impl<Storage> UnsafeUnpin for Block<Storage>where
Storage: UnsafeUnpin,
impl<Storage> UnwindSafe for Block<Storage>where
Storage: UnwindSafe,
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