pub struct AccountMeta {
pub pubkey: PublicKey,
pub is_signer: bool,
pub is_writable: bool,
}Fields§
§pubkey: PublicKeyAn account’s public key.
is_signer: boolTrue if an Instruction requires a Transaction signature matching pubkey.
is_writable: boolTrue if the account data or metadata may be mutated during program execution.
Implementations§
Trait Implementations§
Source§impl BorshDeserialize for AccountMeta
impl BorshDeserialize for AccountMeta
Source§impl BorshSerialize for AccountMeta
impl BorshSerialize for AccountMeta
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 Hash for AccountMeta
impl Hash for AccountMeta
Source§impl PartialEq for AccountMeta
impl PartialEq for AccountMeta
Source§impl Serialize for AccountMeta
impl Serialize 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more