pub struct AccountMeta {
pub pubkey: [u8; 32],
pub is_signer: bool,
pub is_writable: bool,
}Expand description
An account reference in a Solana instruction.
Fields§
§pubkey: [u8; 32]32-byte public key.
is_signer: boolWhether this account is a signer.
is_writable: boolWhether this account is writable.
Implementations§
Trait Implementations§
Source§impl Clone for AccountMeta
impl Clone for AccountMeta
Source§fn clone(&self) -> AccountMeta
fn clone(&self) -> AccountMeta
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 Debug for AccountMeta
impl Debug for AccountMeta
Source§impl PartialEq for AccountMeta
impl PartialEq for AccountMeta
impl Eq for AccountMeta
impl StructuralPartialEq for AccountMeta
Auto Trait Implementations§
impl Freeze for AccountMeta
impl RefUnwindSafe for AccountMeta
impl Send for AccountMeta
impl Sync for AccountMeta
impl Unpin for AccountMeta
impl UnsafeUnpin for AccountMeta
impl UnwindSafe for AccountMeta
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