Struct sugar_cli::common::nft_accounts::SetCollectionDuringMint
source · pub struct SetCollectionDuringMint {
pub candy_machine: Pubkey,
pub metadata: Pubkey,
pub payer: Pubkey,
pub collection_pda: Pubkey,
pub token_metadata_program: Pubkey,
pub instructions: Pubkey,
pub collection_mint: Pubkey,
pub collection_metadata: Pubkey,
pub collection_master_edition: Pubkey,
pub authority: Pubkey,
pub collection_authority_record: Pubkey,
}Expand description
Generated client accounts for SetCollectionDuringMint.
Fields§
§candy_machine: Pubkey§metadata: Pubkey§payer: Pubkey§collection_pda: Pubkey§token_metadata_program: Pubkey§instructions: Pubkey§collection_mint: Pubkey§collection_metadata: Pubkey§collection_master_edition: PubkeyTrait Implementations§
source§impl BorshSerialize for SetCollectionDuringMintwhere
Pubkey: BorshSerialize,
impl BorshSerialize for SetCollectionDuringMintwhere
Pubkey: BorshSerialize,
source§impl ToAccountMetas for SetCollectionDuringMint
impl ToAccountMetas for SetCollectionDuringMint
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.