Struct solana_runtime::append_vec::AccountMeta [−][src]
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: u64lamports in the account
owner: Pubkeythe program that owns this account. If executable, the program that loads this account.
executable: boolthis account’s data contains a loaded program (and is now read-only)
rent_epoch: Epochthe epoch at which this account will next owe rent
Trait Implementations
Returns the “default value” for a type. Read more
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
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AccountMetaimpl Send for AccountMetaimpl Sync for AccountMetaimpl Unpin for AccountMetaimpl UnwindSafe for AccountMetaBlanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V