Struct switchboard_on_demand::on_demand::instructions::guardian_quote_verify::GuardianQuoteVerifyParams
source · pub struct GuardianQuoteVerifyParams {
pub timestamp: i64,
pub mr_enclave: [u8; 32],
pub idx: u32,
pub ed25519_key: Pubkey,
pub secp256k1_key: [u8; 64],
pub slot: u64,
pub signature: [u8; 64],
pub recovery_id: u8,
pub advisories: Vec<u32>,
}
Fields§
§timestamp: i64
§mr_enclave: [u8; 32]
§idx: u32
§ed25519_key: Pubkey
§secp256k1_key: [u8; 64]
§slot: u64
§signature: [u8; 64]
§recovery_id: u8
§advisories: Vec<u32>
Trait Implementations§
source§impl BorshSerialize for GuardianQuoteVerifyParams
impl BorshSerialize for GuardianQuoteVerifyParams
source§impl Clone for GuardianQuoteVerifyParams
impl Clone for GuardianQuoteVerifyParams
source§fn clone(&self) -> GuardianQuoteVerifyParams
fn clone(&self) -> GuardianQuoteVerifyParams
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 GuardianQuoteVerifyParams
impl Debug for GuardianQuoteVerifyParams
source§impl Discriminator for GuardianQuoteVerifyParams
impl Discriminator for GuardianQuoteVerifyParams
const DISCRIMINATOR: [u8; 8] = GuardianQuoteVerify::DISCRIMINATOR
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for GuardianQuoteVerifyParams
impl RefUnwindSafe for GuardianQuoteVerifyParams
impl Send for GuardianQuoteVerifyParams
impl Sync for GuardianQuoteVerifyParams
impl Unpin for GuardianQuoteVerifyParams
impl UnwindSafe for GuardianQuoteVerifyParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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