Struct clockwork_queue_program::objects::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
sourceimpl BorshDeserialize for AccountMetaDatawhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for AccountMetaDatawhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
sourcefn 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. Read more
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.
sourceimpl BorshSchema for AccountMetaDatawhere
Pubkey: BorshSchema,
bool: BorshSchema,
bool: BorshSchema,
impl BorshSchema for AccountMetaDatawhere
Pubkey: BorshSchema,
bool: BorshSchema,
bool: BorshSchema,
sourcefn declaration() -> Declaration
fn declaration() -> Declaration
Get the name of the type without brackets.
sourcefn 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. Read more
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
sourceimpl BorshSerialize for AccountMetaDatawhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
impl BorshSerialize for AccountMetaDatawhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
sourceimpl Clone for AccountMetaData
impl Clone for AccountMetaData
sourcefn clone(&self) -> AccountMetaData
fn clone(&self) -> AccountMetaData
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AccountMetaData
impl Debug for AccountMetaData
sourceimpl Hash for AccountMetaData
impl Hash for AccountMetaData
sourceimpl PartialEq<AccountMetaData> for AccountMetaData
impl PartialEq<AccountMetaData> for AccountMetaData
sourcefn eq(&self, other: &AccountMetaData) -> bool
fn eq(&self, other: &AccountMetaData) -> bool
impl StructuralPartialEq for AccountMetaData
Auto Trait Implementations
impl RefUnwindSafe for AccountMetaData
impl Send for AccountMetaData
impl Sync for AccountMetaData
impl Unpin for AccountMetaData
impl UnwindSafe for AccountMetaData
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more