#[repr(C)]pub struct UpdateMetadataAccountArgsV2 {
pub data: Option<DataV2>,
pub update_authority: Option<Pubkey>,
pub primary_sale_happened: Option<bool>,
pub is_mutable: Option<bool>,
}
Expand description
Args for update call
Fields§
§data: Option<DataV2>
§primary_sale_happened: Option<bool>
§is_mutable: Option<bool>
Trait Implementations§
source§impl BorshDeserialize for UpdateMetadataAccountArgsV2where
Option<DataV2>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
impl BorshDeserialize for UpdateMetadataAccountArgsV2where
Option<DataV2>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
source§impl BorshSerialize for UpdateMetadataAccountArgsV2where
Option<DataV2>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
impl BorshSerialize for UpdateMetadataAccountArgsV2where
Option<DataV2>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
source§impl Clone for UpdateMetadataAccountArgsV2
impl Clone for UpdateMetadataAccountArgsV2
source§fn clone(&self) -> UpdateMetadataAccountArgsV2
fn clone(&self) -> UpdateMetadataAccountArgsV2
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 UpdateMetadataAccountArgsV2
impl Debug for UpdateMetadataAccountArgsV2
source§impl PartialEq<UpdateMetadataAccountArgsV2> for UpdateMetadataAccountArgsV2
impl PartialEq<UpdateMetadataAccountArgsV2> for UpdateMetadataAccountArgsV2
source§fn eq(&self, other: &UpdateMetadataAccountArgsV2) -> bool
fn eq(&self, other: &UpdateMetadataAccountArgsV2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.