Expand description
The Solana Account
type.
Modules§
- state_
traits bincode
- Useful extras for
Account
state.
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 bincode
- create_
account_ shared_ data_ for_ test bincode
- create_
account_ shared_ data_ with_ fields bincode
- Create an
Account
from aSysvar
. - create_
account_ with_ fields bincode
- create_
is_ signer_ account_ infos - Create
AccountInfo
s - from_
account bincode
- Create a
Sysvar
from anAccount
’s data. - to_
account bincode
- Serialize a
Sysvar
into anAccount
’s data.