Struct spl_governance::state::legacy::SignatoryRecordV1
source · [−]#[repr(C)]pub struct SignatoryRecordV1 {
pub account_type: GovernanceAccountType,
pub proposal: Pubkey,
pub signatory: Pubkey,
pub signed_off: bool,
}
Expand description
Account PDA seeds: [‘governance’, proposal, signatory]
Fields
account_type: GovernanceAccountType
Governance account type
proposal: Pubkey
Proposal the signatory is assigned for
signatory: Pubkey
The account of the signatory who can sign off the proposal
signed_off: bool
Indicates whether the signatory signed off the proposal
Trait Implementations
impl BorshSchema for SignatoryRecordV1 where
GovernanceAccountType: BorshSchema,
Pubkey: BorshSchema,
Pubkey: BorshSchema,
bool: BorshSchema,
impl BorshSchema for SignatoryRecordV1 where
GovernanceAccountType: BorshSchema,
Pubkey: BorshSchema,
Pubkey: BorshSchema,
bool: BorshSchema,
Get the name of the type without brackets.
Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type. Read more
fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
Helper method to add a single type definition to the map.
Is initialized
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SignatoryRecordV1
impl Send for SignatoryRecordV1
impl Sync for SignatoryRecordV1
impl Unpin for SignatoryRecordV1
impl UnwindSafe for SignatoryRecordV1
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more