Module solana_sdk::account[][src]

Structs

Account

An Account with data that is stored on chain

AccountSharedData

An Account with data that is stored on chain This will become a new in-memory representation of the ‘Account’ struct data. The existing ‘Account’ structure cannot easily change due to downstream projects. This struct will shortly rely on something like the ReadableAccount trait for access to the fields.

Traits

ReadableAccount
WritableAccount

Functions

accounts_equal

Compares two ReadableAccounts

create_account

Create an Account from a Sysvar.

create_account_infos

Create AccountInfos

create_account_shared_data

Create an Account from a Sysvar.

create_is_signer_account_infos

Create AccountInfos

from_account

Create a Sysvar from an Account’s data.

to_account

Serialize a Sysvar into an Account’s data.