pub struct TXAccountMeta {
pub pubkey: Pubkey,
pub is_signer: bool,
pub is_writable: bool,
}
Expand description
Account metadata used to define TXInstructions
Fields§
§pubkey: Pubkey
An account’s public key
is_signer: bool
True if an Instruction requires a Transaction signature matching pubkey
.
is_writable: bool
True if the pubkey
can be loaded as a read-write account.
Trait Implementations§
Source§impl BorshDeserialize for TXAccountMeta
impl BorshDeserialize for TXAccountMeta
Source§impl BorshSerialize for TXAccountMeta
impl BorshSerialize for TXAccountMeta
Source§impl Clone for TXAccountMeta
impl Clone for TXAccountMeta
Source§fn clone(&self) -> TXAccountMeta
fn clone(&self) -> TXAccountMeta
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 TXAccountMeta
impl Debug for TXAccountMeta
Source§impl From<TXAccountMeta> for AccountMeta
impl From<TXAccountMeta> for AccountMeta
Source§fn from(_: TXAccountMeta) -> AccountMeta
fn from(_: TXAccountMeta) -> AccountMeta
Converts to this type from the input type.
Source§impl PartialEq for TXAccountMeta
impl PartialEq for TXAccountMeta
impl Copy for TXAccountMeta
impl StructuralPartialEq for TXAccountMeta
Auto Trait Implementations§
impl Freeze for TXAccountMeta
impl RefUnwindSafe for TXAccountMeta
impl Send for TXAccountMeta
impl Sync for TXAccountMeta
impl Unpin for TXAccountMeta
impl UnwindSafe for TXAccountMeta
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