Struct switchboard_solana::attestation_program::accounts::request::FunctionRequestTriggerRound
source · pub struct FunctionRequestTriggerRound {
pub status: RequestStatus,
pub bounty: u64,
pub request_slot: u64,
pub fulfilled_slot: u64,
pub expiration_slot: u64,
pub verifier: Pubkey,
pub enclave_signer: Pubkey,
pub valid_after_slot: u64,
pub queue_idx: u32,
pub _ebuf: [u8; 52],
}
Fields§
§status: RequestStatus
The status of the request.
bounty: u64
The SOL bounty in lamports used to incentivize a verifier to expedite the request.
request_slot: u64
The slot the request was published
fulfilled_slot: u64
The slot when the request was fulfilled
expiration_slot: u64
The slot when the request will expire and be able to be closed by the non-authority account
verifier: Pubkey
The EnclaveAccount who verified the enclave for this request
enclave_signer: Pubkey
The keypair generated in the enclave and required to sign any valid transactions processed by the function.
valid_after_slot: u64
The slot when the request can first be executed.
queue_idx: u32
The index of the verifier assigned to this request.
_ebuf: [u8; 52]
Reserved.
Trait Implementations§
source§impl BorshDeserialize for FunctionRequestTriggerRound
impl BorshDeserialize for FunctionRequestTriggerRound
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 Clone for FunctionRequestTriggerRound
impl Clone for FunctionRequestTriggerRound
source§fn clone(&self) -> FunctionRequestTriggerRound
fn clone(&self) -> FunctionRequestTriggerRound
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 PartialEq for FunctionRequestTriggerRound
impl PartialEq for FunctionRequestTriggerRound
source§fn eq(&self, other: &FunctionRequestTriggerRound) -> bool
fn eq(&self, other: &FunctionRequestTriggerRound) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FunctionRequestTriggerRound
impl StructuralPartialEq for FunctionRequestTriggerRound
Auto Trait Implementations§
impl RefUnwindSafe for FunctionRequestTriggerRound
impl Send for FunctionRequestTriggerRound
impl Sync for FunctionRequestTriggerRound
impl Unpin for FunctionRequestTriggerRound
impl UnwindSafe for FunctionRequestTriggerRound
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