pub enum AddSignatoryAuthority {
ProposalOwner {
governance_authority: Pubkey,
token_owner_record: Pubkey,
},
None,
}
Expand description
Enum to specify the authority by which the instruction should add a signatory
Variants§
ProposalOwner
Fields
Token owner or its delegate
Proposal owners can add optional signatories to a proposal
None
Anyone can add signatories that are required by the governance to a proposal
Trait Implementations§
source§impl Clone for AddSignatoryAuthority
impl Clone for AddSignatoryAuthority
source§fn clone(&self) -> AddSignatoryAuthority
fn clone(&self) -> AddSignatoryAuthority
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddSignatoryAuthority
impl Debug for AddSignatoryAuthority
impl Copy for AddSignatoryAuthority
Auto Trait Implementations§
impl RefUnwindSafe for AddSignatoryAuthority
impl Send for AddSignatoryAuthority
impl Sync for AddSignatoryAuthority
impl Unpin for AddSignatoryAuthority
impl UnwindSafe for AddSignatoryAuthority
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more