#[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
sourceimpl BorshDeserialize for UpdateMetadataAccountArgsV2 where
Option<DataV2>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
Option<bool>: BorshDeserialize,
impl BorshDeserialize for UpdateMetadataAccountArgsV2 where
Option<DataV2>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
Option<bool>: BorshDeserialize,
sourceimpl BorshSerialize for UpdateMetadataAccountArgsV2 where
Option<DataV2>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
Option<bool>: BorshSerialize,
impl BorshSerialize for UpdateMetadataAccountArgsV2 where
Option<DataV2>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
Option<bool>: BorshSerialize,
sourceimpl Clone for UpdateMetadataAccountArgsV2
impl Clone for UpdateMetadataAccountArgsV2
sourcefn clone(&self) -> UpdateMetadataAccountArgsV2
fn clone(&self) -> UpdateMetadataAccountArgsV2
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 UpdateMetadataAccountArgsV2
impl Debug for UpdateMetadataAccountArgsV2
sourceimpl PartialEq<UpdateMetadataAccountArgsV2> for UpdateMetadataAccountArgsV2
impl PartialEq<UpdateMetadataAccountArgsV2> for UpdateMetadataAccountArgsV2
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &UpdateMetadataAccountArgsV2) -> bool
fn ne(&self, other: &UpdateMetadataAccountArgsV2) -> bool
This method tests for !=
.
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more