Expand description
The Solana Account
type.
Structs§
- Account
- An Account with data that is stored on chain
- Account
Shared Data - An Account with data that is stored on chain This will be the in-memory representation of the ‘Account’ struct data. The existing ‘Account’ structure cannot easily change due to downstream projects.
Constants§
- DUMMY_
INHERITABLE_ ACCOUNT_ FIELDS - PROGRAM_
OWNERS - Replacement for the executable flag: An account being owned by one of these contains a program.
Traits§
Functions§
- accounts_
equal - Compares two ReadableAccounts
- create_
account_ for_ test - create_
account_ shared_ data_ for_ test - create_
account_ shared_ data_ with_ fields - Create an
Account
from aSysvar
. - create_
account_ with_ fields - create_
is_ signer_ account_ infos - Create
AccountInfo
s - from_
account - Create a
Sysvar
from anAccount
’s data. - to_
account - Serialize a
Sysvar
into anAccount
’s data.