Struct mpl_core::instructions::CreateCollectionV1
source · pub struct CreateCollectionV1 {
pub collection: Pubkey,
pub update_authority: Option<Pubkey>,
pub payer: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§collection: PubkeyThe address of the new asset
The authority of the new asset
payer: PubkeyThe account paying for the storage fees
system_program: PubkeyThe system program
Implementations§
source§impl CreateCollectionV1
impl CreateCollectionV1
pub fn instruction( &self, args: CreateCollectionV1InstructionArgs ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: CreateCollectionV1InstructionArgs, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl Freeze for CreateCollectionV1
impl RefUnwindSafe for CreateCollectionV1
impl Send for CreateCollectionV1
impl Sync for CreateCollectionV1
impl Unpin for CreateCollectionV1
impl UnwindSafe for CreateCollectionV1
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