pub enum InstructionAccount {
Readonly(Pubkey),
ReadonlySigner(Pubkey),
Writable(Pubkey),
WritableSigner(Pubkey),
}
Variants§
Implementations§
source§impl InstructionAccount
impl InstructionAccount
pub fn to_account_meta(&self) -> AccountMeta
Trait Implementations§
source§impl Clone for InstructionAccount
impl Clone for InstructionAccount
source§fn clone(&self) -> InstructionAccount
fn clone(&self) -> InstructionAccount
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 moreimpl Copy for InstructionAccount
Auto Trait Implementations§
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