pub struct InstructionAccountMeta { /* private fields */ }Expand description
Account meta decoded from an Instructions sysvar entry.
Implementations§
Source§impl InstructionAccountMeta
impl InstructionAccountMeta
Sourcepub const fn pubkey_bytes(&self) -> &[u8; 32]
pub const fn pubkey_bytes(&self) -> &[u8; 32]
The account public key bytes.
Sourcepub const fn is_writable(&self) -> bool
pub const fn is_writable(&self) -> bool
True when the meta is marked writable.
Trait Implementations§
Source§impl Clone for InstructionAccountMeta
impl Clone for InstructionAccountMeta
Source§fn clone(&self) -> InstructionAccountMeta
fn clone(&self) -> InstructionAccountMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstructionAccountMeta
impl Debug for InstructionAccountMeta
Source§impl PartialEq for InstructionAccountMeta
impl PartialEq for InstructionAccountMeta
Source§fn eq(&self, other: &InstructionAccountMeta) -> bool
fn eq(&self, other: &InstructionAccountMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InstructionAccountMeta
impl Eq for InstructionAccountMeta
impl StructuralPartialEq for InstructionAccountMeta
Auto Trait Implementations§
impl Freeze for InstructionAccountMeta
impl RefUnwindSafe for InstructionAccountMeta
impl Send for InstructionAccountMeta
impl Sync for InstructionAccountMeta
impl Unpin for InstructionAccountMeta
impl UnsafeUnpin for InstructionAccountMeta
impl UnwindSafe for InstructionAccountMeta
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