Struct switchboard_solana::attestation_program::instructions::verifier_quote_verify::VerifierQuoteVerifyParams
source · pub struct VerifierQuoteVerifyParams {
pub timestamp: i64,
pub mr_enclave: [u8; 32],
pub idx: u32,
pub ed25519_key: Option<Pubkey>,
pub secp256k1_key: Option<[u8; 64]>,
}
Fields§
§timestamp: i64
§mr_enclave: [u8; 32]
§idx: u32
§ed25519_key: Option<Pubkey>
§secp256k1_key: Option<[u8; 64]>
Trait Implementations§
source§impl BorshDeserialize for VerifierQuoteVerifyParamswhere
i64: BorshDeserialize,
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<[u8; 64]>: BorshDeserialize,
impl BorshDeserialize for VerifierQuoteVerifyParamswhere
i64: BorshDeserialize,
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<[u8; 64]>: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
§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.
§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 VerifierQuoteVerifyParamswhere
i64: BorshSerialize,
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<[u8; 64]>: BorshSerialize,
impl BorshSerialize for VerifierQuoteVerifyParamswhere
i64: BorshSerialize,
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<[u8; 64]>: BorshSerialize,
source§impl Clone for VerifierQuoteVerifyParams
impl Clone for VerifierQuoteVerifyParams
source§fn clone(&self) -> VerifierQuoteVerifyParams
fn clone(&self) -> VerifierQuoteVerifyParams
Returns a copy 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 moresource§impl Debug for VerifierQuoteVerifyParams
impl Debug for VerifierQuoteVerifyParams
source§impl Discriminator for VerifierQuoteVerifyParams
impl Discriminator for VerifierQuoteVerifyParams
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl RefUnwindSafe for VerifierQuoteVerifyParams
impl Send for VerifierQuoteVerifyParams
impl Sync for VerifierQuoteVerifyParams
impl Unpin for VerifierQuoteVerifyParams
impl UnwindSafe for VerifierQuoteVerifyParams
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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