pub struct TakeSnapshotCreateFrame {
pub config: Pubkey,
pub payer: Pubkey,
pub registry: Pubkey,
pub snapshot: Pubkey,
pub snapshot_frame: Pubkey,
pub system_program: Pubkey,
pub thread: Pubkey,
pub worker: Pubkey,
pub worker_stake: Pubkey,
}
Expand description
Generated client accounts for TakeSnapshotCreateFrame
.
Fields§
§config: Pubkey
§payer: Pubkey
§registry: Pubkey
§snapshot: Pubkey
§snapshot_frame: Pubkey
§system_program: Pubkey
§thread: Pubkey
§worker: Pubkey
§worker_stake: Pubkey
Trait Implementations§
source§impl BorshSerialize for TakeSnapshotCreateFramewhere
Pubkey: BorshSerialize,
impl BorshSerialize for TakeSnapshotCreateFramewhere Pubkey: BorshSerialize,
source§impl ToAccountMetas for TakeSnapshotCreateFrame
impl ToAccountMetas for TakeSnapshotCreateFrame
source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.Auto Trait Implementations§
impl RefUnwindSafe for TakeSnapshotCreateFrame
impl Send for TakeSnapshotCreateFrame
impl Sync for TakeSnapshotCreateFrame
impl Unpin for TakeSnapshotCreateFrame
impl UnwindSafe for TakeSnapshotCreateFrame
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