Crate anchor_attribute_state
source ·Attribute Macros
stateDeprecated
The
#[state]
attribute defines the program’s state struct, i.e., the
program’s global account singleton giving the program the illusion of state.