pub struct CommitDiffArgsWithoutDiff {
pub nonce: u64,
pub lamports: u64,
pub allow_undelegation: bool,
}Fields§
§nonce: u64“Nonce” of an account. Updates are submitted historically and nonce incremented by 1 Deprecated: The ephemeral slot at which the account data is committed
lamports: u64The lamports that the account holds in the ephemeral validator
allow_undelegation: boolWhether the account can be undelegated after the commit completes
Trait Implementations§
Source§impl BorshDeserialize for CommitDiffArgsWithoutDiff
impl BorshDeserialize for CommitDiffArgsWithoutDiff
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl Debug for CommitDiffArgsWithoutDiff
impl Debug for CommitDiffArgsWithoutDiff
Source§impl Default for CommitDiffArgsWithoutDiff
impl Default for CommitDiffArgsWithoutDiff
Source§fn default() -> CommitDiffArgsWithoutDiff
fn default() -> CommitDiffArgsWithoutDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommitDiffArgsWithoutDiff
impl RefUnwindSafe for CommitDiffArgsWithoutDiff
impl Send for CommitDiffArgsWithoutDiff
impl Sync for CommitDiffArgsWithoutDiff
impl Unpin for CommitDiffArgsWithoutDiff
impl UnsafeUnpin for CommitDiffArgsWithoutDiff
impl UnwindSafe for CommitDiffArgsWithoutDiff
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<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 more