#[repr(C)]pub struct CommitFinalizeArgs {
pub commit_id: u64,
pub lamports: u64,
pub allow_undelegation: Boolean,
pub data_is_diff: Boolean,
pub bumps: CommitBumps,
pub reserved_padding: [u8; 3],
}Fields§
§commit_id: u64the commit_id ensures correct ordering of commits
lamports: u64the lamports that the delegated account holds in the ephemeral validator
allow_undelegation: Booleanwhether the account can be undelegated after the commit completes
data_is_diff: Booleanwhether the data (in the ixdata or in the data account) is diff or full state.
bumps: CommitBumpsbumps of the PDA accounts to be validated by the ix
reserved_padding: [u8; 3]Trait Implementations§
Source§impl Clone for CommitFinalizeArgs
impl Clone for CommitFinalizeArgs
Source§fn clone(&self) -> CommitFinalizeArgs
fn clone(&self) -> CommitFinalizeArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommitFinalizeArgs
impl Pod for CommitFinalizeArgs
Auto Trait Implementations§
impl Freeze for CommitFinalizeArgs
impl RefUnwindSafe for CommitFinalizeArgs
impl Send for CommitFinalizeArgs
impl Sync for CommitFinalizeArgs
impl Unpin for CommitFinalizeArgs
impl UnsafeUnpin for CommitFinalizeArgs
impl UnwindSafe for CommitFinalizeArgs
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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 moreSource§impl<T> PodView for Twhere
T: Pod,
impl<T> PodView for Twhere
T: Pod,
Source§const SPACE: usize = const SPACE: usize = core::mem::size_of::<T>();
const SPACE: usize = const SPACE: usize = core::mem::size_of::<T>();
The exact size of the POD type in bytes. Read more
const ALIGN: usize = const ALIGN: usize = core::mem::align_of::<T>();
Source§fn try_copy_to(&self, buffer: &mut [u8]) -> Result<(), ProgramError>
fn try_copy_to(&self, buffer: &mut [u8]) -> Result<(), ProgramError>
Copy the raw bytes of Self into the given mutable buffer. Read more
Source§fn try_view_from(buffer: &[u8]) -> Result<&T, ProgramError>
fn try_view_from(buffer: &[u8]) -> Result<&T, ProgramError>
Source§fn try_view_from_mut(buffer: &mut [u8]) -> Result<&mut T, ProgramError>
fn try_view_from_mut(buffer: &mut [u8]) -> Result<&mut T, ProgramError>
Mutable version of try_view_from.