pub struct SlotHash {
pub slot: u64,
pub hash: [u8; 32],
}Expand description
One (slot, hash) entry from the SlotHashes sysvar.
Fields§
§slot: u64§hash: [u8; 32]Trait Implementations§
impl Copy for SlotHash
impl Eq for SlotHash
impl StructuralPartialEq for SlotHash
Auto Trait Implementations§
impl Freeze for SlotHash
impl RefUnwindSafe for SlotHash
impl Send for SlotHash
impl Sync for SlotHash
impl Unpin for SlotHash
impl UnsafeUnpin for SlotHash
impl UnwindSafe for SlotHash
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