#[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
sourceimpl BorshDeserialize for CreateMetadataAccountArgsV3 where
DataV2: BorshDeserialize,
bool: BorshDeserialize,
Option<CollectionDetails>: BorshDeserialize,
impl BorshDeserialize for CreateMetadataAccountArgsV3 where
DataV2: BorshDeserialize,
bool: BorshDeserialize,
Option<CollectionDetails>: BorshDeserialize,
sourceimpl BorshSerialize for CreateMetadataAccountArgsV3 where
DataV2: BorshSerialize,
bool: BorshSerialize,
Option<CollectionDetails>: BorshSerialize,
impl BorshSerialize for CreateMetadataAccountArgsV3 where
DataV2: BorshSerialize,
bool: BorshSerialize,
Option<CollectionDetails>: BorshSerialize,
sourceimpl Clone for CreateMetadataAccountArgsV3
impl Clone for CreateMetadataAccountArgsV3
sourcefn clone(&self) -> CreateMetadataAccountArgsV3
fn clone(&self) -> CreateMetadataAccountArgsV3
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateMetadataAccountArgsV3
impl Debug for CreateMetadataAccountArgsV3
sourceimpl PartialEq<CreateMetadataAccountArgsV3> for CreateMetadataAccountArgsV3
impl PartialEq<CreateMetadataAccountArgsV3> for CreateMetadataAccountArgsV3
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CreateMetadataAccountArgsV3) -> bool
fn ne(&self, other: &CreateMetadataAccountArgsV3) -> bool
This method tests for !=
.
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
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more