Struct switchboard_on_demand::on_demand::types::Quote
source · #[repr(C)]pub struct Quote {Show 14 fields
pub enclave_signer: Pubkey,
pub mr_enclave: [u8; 32],
pub verification_status: u8,
pub verification_timestamp: i64,
pub valid_until: i64,
pub quote_registry: [u8; 32],
pub registry_key: [u8; 64],
pub secp256k1_signer: [u8; 64],
pub last_ed25519_signer: Pubkey,
pub last_secp256k1_signer: [u8; 64],
pub last_rotate_slot: u64,
pub guardian_approvers: [Pubkey; 64],
pub guardian_approvers_len: u8,
pub _ebuf: [u8; 1024],
/* private fields */
}
Fields§
§enclave_signer: Pubkey
The address of the signer generated within an enclave.
mr_enclave: [u8; 32]
The quotes MRENCLAVE measurement dictating the contents of the secure enclave.
verification_status: u8
The VerificationStatus of the quote.
verification_timestamp: i64
The unix timestamp when the quote was last verified.
valid_until: i64
The unix timestamp when the quotes verification status expires.
quote_registry: [u8; 32]
The off-chain registry where the verifiers quote can be located.
registry_key: [u8; 64]
Key to lookup the buffer data on IPFS or an alternative decentralized storage solution.
secp256k1_signer: [u8; 64]
The secp256k1 public key of the enclave signer. Derived from the enclave_signer.
last_ed25519_signer: Pubkey
§last_secp256k1_signer: [u8; 64]
§last_rotate_slot: u64
§guardian_approvers: [Pubkey; 64]
§guardian_approvers_len: u8
§_ebuf: [u8; 1024]
Reserved.
Implementations§
Trait Implementations§
impl Copy for Quote
impl Pod for Quote
Auto Trait Implementations§
impl Freeze for Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
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