pub struct SvmAccountMeta {
pub pubkey: String,
pub is_signer: bool,
pub is_writable: bool,
}Expand description
One account in an ExecutionStep::SvmDispatch instruction.
Mirrors solana_sdk::instruction::AccountMeta byte-for-byte:
(pubkey, is_signer, is_writable). Solana programs read accounts
positionally — order is part of the program’s ABI and the
declaration order in the template must match the program’s
expectations.
Fields§
§pubkey: StringBase58 account address. Supports {{var}} substitution at
run time.
is_signer: boolWhether this account must sign the transaction. The agent’s own wallet pubkey is supplied as the fee-payer signer by the node handler and does NOT need to be listed here.
is_writable: boolWhether the program may write to this account’s data or lamports. Accounts not declared writable are passed read-only.
Trait Implementations§
Source§impl Clone for SvmAccountMeta
impl Clone for SvmAccountMeta
Source§fn clone(&self) -> SvmAccountMeta
fn clone(&self) -> SvmAccountMeta
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 SvmAccountMeta
impl Debug for SvmAccountMeta
Source§impl<'de> Deserialize<'de> for SvmAccountMeta
impl<'de> Deserialize<'de> for SvmAccountMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SvmAccountMeta
Source§impl PartialEq for SvmAccountMeta
impl PartialEq for SvmAccountMeta
Source§fn eq(&self, other: &SvmAccountMeta) -> bool
fn eq(&self, other: &SvmAccountMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SvmAccountMeta
impl Serialize for SvmAccountMeta
impl StructuralPartialEq for SvmAccountMeta
Auto Trait Implementations§
impl Freeze for SvmAccountMeta
impl RefUnwindSafe for SvmAccountMeta
impl Send for SvmAccountMeta
impl Sync for SvmAccountMeta
impl Unpin for SvmAccountMeta
impl UnsafeUnpin for SvmAccountMeta
impl UnwindSafe for SvmAccountMeta
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