#[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 ==
.impl Eq for UpdateMetadataAccountArgsV2
impl StructuralEq for UpdateMetadataAccountArgsV2
impl StructuralPartialEq for UpdateMetadataAccountArgsV2
Auto Trait Implementations§
impl RefUnwindSafe for UpdateMetadataAccountArgsV2
impl Send for UpdateMetadataAccountArgsV2
impl Sync for UpdateMetadataAccountArgsV2
impl Unpin for UpdateMetadataAccountArgsV2
impl UnwindSafe for UpdateMetadataAccountArgsV2
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