#[repr(C)]pub enum DelegateArgs {
Show 13 variants
CollectionV1 {
authorization_data: Option<AuthorizationData>,
},
SaleV1 {
amount: u64,
authorization_data: Option<AuthorizationData>,
},
TransferV1 {
amount: u64,
authorization_data: Option<AuthorizationData>,
},
DataV1 {
authorization_data: Option<AuthorizationData>,
},
UtilityV1 {
amount: u64,
authorization_data: Option<AuthorizationData>,
},
StakingV1 {
amount: u64,
authorization_data: Option<AuthorizationData>,
},
StandardV1 {
amount: u64,
},
LockedTransferV1 {
amount: u64,
locked_address: Pubkey,
authorization_data: Option<AuthorizationData>,
},
ProgrammableConfigV1 {
authorization_data: Option<AuthorizationData>,
},
AuthorityItemV1 {
authorization_data: Option<AuthorizationData>,
},
DataItemV1 {
authorization_data: Option<AuthorizationData>,
},
CollectionItemV1 {
authorization_data: Option<AuthorizationData>,
},
ProgrammableConfigItemV1 {
authorization_data: Option<AuthorizationData>,
},
}
Expand description
Delegate args can specify Metadata delegates and Token delegates.
Variants§
CollectionV1
Fields
Required authorization data to validate the request.
SaleV1
TransferV1
DataV1
Fields
Required authorization data to validate the request.
UtilityV1
StakingV1
StandardV1
LockedTransferV1
Fields
Required authorization data to validate the request.
ProgrammableConfigV1
Fields
Required authorization data to validate the request.
AuthorityItemV1
Fields
Required authorization data to validate the request.
DataItemV1
Fields
Required authorization data to validate the request.
CollectionItemV1
Fields
Required authorization data to validate the request.
ProgrammableConfigItemV1
Fields
Required authorization data to validate the request.
Trait Implementations§
source§impl BorshDeserialize for DelegateArgswhere
Option<AuthorizationData>: BorshDeserialize,
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for DelegateArgswhere Option<AuthorizationData>: BorshDeserialize, u64: BorshDeserialize, Pubkey: BorshDeserialize,
source§impl BorshSerialize for DelegateArgswhere
Option<AuthorizationData>: BorshSerialize,
u64: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for DelegateArgswhere Option<AuthorizationData>: BorshSerialize, u64: BorshSerialize, Pubkey: BorshSerialize,
source§impl Clone for DelegateArgs
impl Clone for DelegateArgs
source§fn clone(&self) -> DelegateArgs
fn clone(&self) -> DelegateArgs
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 DelegateArgs
impl Debug for DelegateArgs
source§impl PartialEq<DelegateArgs> for DelegateArgs
impl PartialEq<DelegateArgs> for DelegateArgs
source§fn eq(&self, other: &DelegateArgs) -> bool
fn eq(&self, other: &DelegateArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DelegateArgs
impl StructuralEq for DelegateArgs
impl StructuralPartialEq for DelegateArgs
Auto Trait Implementations§
impl RefUnwindSafe for DelegateArgs
impl Send for DelegateArgs
impl Sync for DelegateArgs
impl Unpin for DelegateArgs
impl UnwindSafe for DelegateArgs
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