Struct sugar_cli::common::nft_accounts::SetTokenStandard
source · pub struct SetTokenStandard {Show 15 fields
pub candy_machine: Pubkey,
pub authority: Pubkey,
pub authority_pda: Pubkey,
pub payer: Pubkey,
pub rule_set: Option<Pubkey>,
pub collection_delegate_record: Pubkey,
pub collection_mint: Pubkey,
pub collection_metadata: Pubkey,
pub collection_authority_record: Option<Pubkey>,
pub collection_update_authority: Pubkey,
pub token_metadata_program: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}Expand description
Generated client accounts for SetTokenStandard.
Fields§
§candy_machine: PubkeyCandy Machine account.
Candy Machine authority.
Authority PDA.
payer: PubkeyPayer of the transaction.
rule_set: Option<Pubkey>Authorization rule set to be used by minted NFTs.
collection_delegate_record: PubkeyCollection metadata delegate record.
collection_mint: PubkeyCollection mint.
collection_metadata: PubkeyCollection metadata.
Collection authority record.
Collection update authority.
token_metadata_program: PubkeyToken Metadata program.
system_program: PubkeySystem program.
sysvar_instructions: PubkeyInstructions sysvar account.
Token Authorization Rules program.
Token Authorization rules account for the collection metadata (if any).
Trait Implementations§
source§impl BorshSerialize for SetTokenStandardwhere
Pubkey: BorshSerialize,
Option<Pubkey>: BorshSerialize,
impl BorshSerialize for SetTokenStandardwhere Pubkey: BorshSerialize, Option<Pubkey>: BorshSerialize,
source§impl ToAccountMetas for SetTokenStandard
impl ToAccountMetas for SetTokenStandard
source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta, Global>
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta, Global>
is_signer is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.Auto Trait Implementations§
impl RefUnwindSafe for SetTokenStandard
impl Send for SetTokenStandard
impl Sync for SetTokenStandard
impl Unpin for SetTokenStandard
impl UnwindSafe for SetTokenStandard
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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