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.

Constants

DUMMY_INHERITABLE_ACCOUNT_FIELDS

Traits

ReadableAccount
WritableAccount

Functions

accounts_equal

Compares two ReadableAccounts

create_accountDeprecated

Create an Account from a Sysvar.

create_account_for_test
create_account_shared_dataDeprecated

Create an Account from a Sysvar.

create_account_shared_data_for_test
create_account_shared_data_with_fields
create_account_with_fields
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.

Type Definitions

InheritableAccountFields