pub struct ShortAccountMeta {
    pub pubkey: Pubkey,
    pub is_writable: bool,
}Expand description
A compact account meta used for base-layer actions.
Unlike solana_sdk::instruction::AccountMeta, this type does not carry an
is_signer flag. Users cannot request signatures: the only signer available
is the validator.
Fields§
§pubkey: Pubkey§is_writable: boolWhether this account should be marked writable in the Base layer instruction built from this action.
Trait Implementations§
Source§impl Clone for ShortAccountMeta
 
impl Clone for ShortAccountMeta
Source§fn clone(&self) -> ShortAccountMeta
 
fn clone(&self) -> ShortAccountMeta
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 ShortAccountMeta
 
impl Debug for ShortAccountMeta
Source§impl Default for ShortAccountMeta
 
impl Default for ShortAccountMeta
Source§fn default() -> ShortAccountMeta
 
fn default() -> ShortAccountMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShortAccountMeta
 
impl<'de> Deserialize<'de> for ShortAccountMeta
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
Source§impl<'a> From<&AccountInfo<'a>> for ShortAccountMeta
 
impl<'a> From<&AccountInfo<'a>> for ShortAccountMeta
Source§fn from(value: &AccountInfo<'a>) -> Self
 
fn from(value: &AccountInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AccountInfo<'a>> for ShortAccountMeta
 
impl<'a> From<AccountInfo<'a>> for ShortAccountMeta
Source§fn from(value: AccountInfo<'a>) -> Self
 
fn from(value: AccountInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl From<AccountMeta> for ShortAccountMeta
 
impl From<AccountMeta> for ShortAccountMeta
Source§fn from(value: AccountMeta) -> Self
 
fn from(value: AccountMeta) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShortAccountMeta
 
impl PartialEq for ShortAccountMeta
Source§impl Serialize for ShortAccountMeta
 
impl Serialize for ShortAccountMeta
impl Eq for ShortAccountMeta
impl StructuralPartialEq for ShortAccountMeta
Auto Trait Implementations§
impl Freeze for ShortAccountMeta
impl RefUnwindSafe for ShortAccountMeta
impl Send for ShortAccountMeta
impl Sync for ShortAccountMeta
impl Unpin for ShortAccountMeta
impl UnwindSafe for ShortAccountMeta
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