Struct clockwork_thread_program::state::AccountMetaData
source · Expand description
Account metadata needed to execute an instruction on Solana.
Fields§
§pubkey: Pubkey
An account’s public key
is_signer: bool
True if an Instruction requires a Transaction signature matching pubkey
.
is_writable: bool
True if the pubkey
can be loaded as a read-write account.
Implementations§
Trait Implementations§
source§impl BorshDeserialize for AccountMetaDatawhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for AccountMetaDatawhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
source§impl BorshSchema for AccountMetaDatawhere
Pubkey: BorshSchema,
bool: BorshSchema,
impl BorshSchema for AccountMetaDatawhere
Pubkey: BorshSchema,
bool: BorshSchema,
source§fn declaration() -> Declaration
fn declaration() -> Declaration
Get the name of the type without brackets.
source§fn add_definitions_recursively(
definitions: &mut HashMap<Declaration, Definition>
)
fn add_definitions_recursively(
definitions: &mut HashMap<Declaration, Definition>
)
Recursively, using DFS, add type definitions required for this type. For primitive types
this is an empty map. Type definition explains how to serialize/deserialize a type.
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
Helper method to add a single type definition to the map.
fn schema_container() -> BorshSchemaContainer
source§impl BorshSerialize for AccountMetaDatawhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
impl BorshSerialize for AccountMetaDatawhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
source§impl Clone for AccountMetaData
impl Clone for AccountMetaData
source§fn clone(&self) -> AccountMetaData
fn clone(&self) -> AccountMetaData
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 AccountMetaData
impl Debug for AccountMetaData
source§impl Hash for AccountMetaData
impl Hash for AccountMetaData
source§impl PartialEq<AccountMetaData> for AccountMetaData
impl PartialEq<AccountMetaData> for AccountMetaData
source§fn eq(&self, other: &AccountMetaData) -> bool
fn eq(&self, other: &AccountMetaData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.