#[repr(C)]pub struct CreateMetadataAccountArgsV3 {
pub data: DataV2,
pub is_mutable: bool,
pub collection_details: Option<CollectionDetails>,
}
Expand description
Args for create call
Fields§
§data: DataV2
Note that unique metadatas are disabled for now.
is_mutable: bool
Whether you want your metadata to be updateable in the future.
collection_details: Option<CollectionDetails>
If this is a collection parent NFT.
Trait Implementations§
source§impl BorshDeserialize for CreateMetadataAccountArgsV3where
DataV2: BorshDeserialize,
bool: BorshDeserialize,
Option<CollectionDetails>: BorshDeserialize,
impl BorshDeserialize for CreateMetadataAccountArgsV3where DataV2: BorshDeserialize, bool: BorshDeserialize, Option<CollectionDetails>: BorshDeserialize,
source§impl BorshSerialize for CreateMetadataAccountArgsV3where
DataV2: BorshSerialize,
bool: BorshSerialize,
Option<CollectionDetails>: BorshSerialize,
impl BorshSerialize for CreateMetadataAccountArgsV3where DataV2: BorshSerialize, bool: BorshSerialize, Option<CollectionDetails>: BorshSerialize,
source§impl Clone for CreateMetadataAccountArgsV3
impl Clone for CreateMetadataAccountArgsV3
source§fn clone(&self) -> CreateMetadataAccountArgsV3
fn clone(&self) -> CreateMetadataAccountArgsV3
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 CreateMetadataAccountArgsV3
impl Debug for CreateMetadataAccountArgsV3
source§impl PartialEq<CreateMetadataAccountArgsV3> for CreateMetadataAccountArgsV3
impl PartialEq<CreateMetadataAccountArgsV3> for CreateMetadataAccountArgsV3
source§fn eq(&self, other: &CreateMetadataAccountArgsV3) -> bool
fn eq(&self, other: &CreateMetadataAccountArgsV3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CreateMetadataAccountArgsV3
impl StructuralEq for CreateMetadataAccountArgsV3
impl StructuralPartialEq for CreateMetadataAccountArgsV3
Auto Trait Implementations§
impl RefUnwindSafe for CreateMetadataAccountArgsV3
impl Send for CreateMetadataAccountArgsV3
impl Sync for CreateMetadataAccountArgsV3
impl Unpin for CreateMetadataAccountArgsV3
impl UnwindSafe for CreateMetadataAccountArgsV3
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