pub struct PushSuperblock {
pub slot_start: u64,
pub random_hash: [u8; 32],
pub root: [u8; 32],
pub signature: [u8; 64],
pub slot_end: u64,
}
Expand description
Instruction.
Fields§
§slot_start: u64
§random_hash: [u8; 32]
§root: [u8; 32]
§signature: [u8; 64]
§slot_end: u64
Trait Implementations§
Source§impl BorshDeserialize for PushSuperblock
impl BorshDeserialize for PushSuperblock
Source§impl BorshSerialize for PushSuperblock
impl BorshSerialize for PushSuperblock
Source§impl Discriminator for PushSuperblock
impl Discriminator for PushSuperblock
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Source§impl InstructionData for PushSuperblock
impl InstructionData for PushSuperblock
Auto Trait Implementations§
impl Freeze for PushSuperblock
impl RefUnwindSafe for PushSuperblock
impl Send for PushSuperblock
impl Sync for PushSuperblock
impl Unpin for PushSuperblock
impl UnwindSafe for PushSuperblock
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more