pub struct TrimVerificationConfigArgs {
pub instruction_discriminator: u8,
pub size: u8,
pub close: bool,
}Fields§
§instruction_discriminator: u8§size: u8§close: boolTrait Implementations§
Source§impl BorshDeserialize for TrimVerificationConfigArgs
impl BorshDeserialize for TrimVerificationConfigArgs
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 Clone for TrimVerificationConfigArgs
impl Clone for TrimVerificationConfigArgs
Source§fn clone(&self) -> TrimVerificationConfigArgs
fn clone(&self) -> TrimVerificationConfigArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrimVerificationConfigArgs
impl Debug for TrimVerificationConfigArgs
Source§impl PartialEq for TrimVerificationConfigArgs
impl PartialEq for TrimVerificationConfigArgs
Source§fn eq(&self, other: &TrimVerificationConfigArgs) -> bool
fn eq(&self, other: &TrimVerificationConfigArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TrimVerificationConfigArgs
impl StructuralPartialEq for TrimVerificationConfigArgs
Auto Trait Implementations§
impl Freeze for TrimVerificationConfigArgs
impl RefUnwindSafe for TrimVerificationConfigArgs
impl Send for TrimVerificationConfigArgs
impl Sync for TrimVerificationConfigArgs
impl Unpin for TrimVerificationConfigArgs
impl UnsafeUnpin for TrimVerificationConfigArgs
impl UnwindSafe for TrimVerificationConfigArgs
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