pub struct VerificationConfig {
pub discriminator: u8,
pub instruction_discriminator: u8,
pub cpi_mode: bool,
pub bump: u8,
pub verification_programs: Vec<Pubkey>,
}Fields§
§discriminator: u8§instruction_discriminator: u8§cpi_mode: bool§bump: u8§verification_programs: Vec<Pubkey>Implementations§
Source§impl VerificationConfig
impl VerificationConfig
pub fn from_bytes(data: &[u8]) -> Result<Self, Error>
Trait Implementations§
Source§impl BorshDeserialize for VerificationConfig
impl BorshDeserialize for VerificationConfig
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 BorshSerialize for VerificationConfig
impl BorshSerialize for VerificationConfig
Source§impl Clone for VerificationConfig
impl Clone for VerificationConfig
Source§fn clone(&self) -> VerificationConfig
fn clone(&self) -> VerificationConfig
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 VerificationConfig
impl Debug for VerificationConfig
Source§impl PartialEq for VerificationConfig
impl PartialEq for VerificationConfig
Source§fn eq(&self, other: &VerificationConfig) -> bool
fn eq(&self, other: &VerificationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> TryFrom<&AccountInfo<'a>> for VerificationConfig
impl<'a> TryFrom<&AccountInfo<'a>> for VerificationConfig
impl Eq for VerificationConfig
impl StructuralPartialEq for VerificationConfig
Auto Trait Implementations§
impl Freeze for VerificationConfig
impl RefUnwindSafe for VerificationConfig
impl Send for VerificationConfig
impl Sync for VerificationConfig
impl Unpin for VerificationConfig
impl UnsafeUnpin for VerificationConfig
impl UnwindSafe for VerificationConfig
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