#[repr(C)]pub struct InstructionAccount {
pub flags: InstructionAccountFlagContainer,
pub pubkey: Pubkey,
}Available on crate feature
instruction only.Expand description
Instruction Account.
Fields§
§flags: InstructionAccountFlagContainerFlags.
pubkey: PubkeyPubkey.
Trait Implementations§
Source§impl Clone for InstructionAccount
impl Clone for InstructionAccount
Source§fn clone(&self) -> InstructionAccount
fn clone(&self) -> InstructionAccount
Returns a duplicate 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<'a> From<&'a InstructionAccount> for AccountMeta
impl<'a> From<&'a InstructionAccount> for AccountMeta
Source§fn from(a: &'a InstructionAccount) -> Self
fn from(a: &'a InstructionAccount) -> Self
Converts to this type from the input type.
Source§impl IdlBuild for InstructionAccount
impl IdlBuild for InstructionAccount
Source§fn create_type() -> Option<IdlTypeDef>
fn create_type() -> Option<IdlTypeDef>
Create an IDL type definition for the type. Read more
Source§fn insert_types(types: &mut BTreeMap<String, IdlTypeDef>)
fn insert_types(types: &mut BTreeMap<String, IdlTypeDef>)
Insert all types that are included in the current type definition to the given map.
Source§fn get_full_path() -> String
fn get_full_path() -> String
Get the full module path of the type. Read more
Source§impl InitSpace for InstructionAccount
impl InitSpace for InstructionAccount
Source§const INIT_SPACE: usize = 33usize
const INIT_SPACE: usize = 33usize
Init Space.
impl Copy for InstructionAccount
impl Pod for InstructionAccount
Auto Trait Implementations§
impl Freeze for InstructionAccount
impl RefUnwindSafe for InstructionAccount
impl Send for InstructionAccount
impl Sync for InstructionAccount
impl Unpin for InstructionAccount
impl UnwindSafe for InstructionAccount
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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.Source§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.