Struct solana_runtime::append_vec::AccountMeta
source · pub struct AccountMeta {
pub lamports: u64,
pub owner: Pubkey,
pub executable: bool,
pub rent_epoch: Epoch,
}
Expand description
This struct will be backed by mmaped and snapshotted data files. So the data layout must be stable and consistent across the entire cluster!
Fields§
§lamports: u64
lamports in the account
owner: Pubkey
the program that owns this account. If executable, the program that loads this account.
executable: bool
this account’s data contains a loaded program (and is now read-only)
rent_epoch: Epoch
the epoch at which this account will next owe rent
Trait Implementations§
source§impl Clone for AccountMeta
impl Clone for AccountMeta
source§fn clone(&self) -> AccountMeta
fn clone(&self) -> AccountMeta
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 moresource§impl Debug for AccountMeta
impl Debug for AccountMeta
source§impl Default for AccountMeta
impl Default for AccountMeta
source§fn default() -> AccountMeta
fn default() -> AccountMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountMeta
impl<'de> Deserialize<'de> for AccountMeta
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, T: ReadableAccount> From<&'a T> for AccountMeta
impl<'a, T: ReadableAccount> From<&'a T> for AccountMeta
source§impl<'a, T: ReadableAccount> From<Option<&'a T>> for AccountMeta
impl<'a, T: ReadableAccount> From<Option<&'a T>> for AccountMeta
source§impl PartialEq<AccountMeta> for AccountMeta
impl PartialEq<AccountMeta> for AccountMeta
source§fn eq(&self, other: &AccountMeta) -> bool
fn eq(&self, other: &AccountMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountMeta
impl Serialize for AccountMeta
impl Eq for AccountMeta
impl StructuralEq for AccountMeta
impl StructuralPartialEq for AccountMeta
Auto Trait Implementations§
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> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.