#[repr(C)]pub struct UpdateMetadataAccountArgs {
pub data: Option<Data>,
pub update_authority: Option<Pubkey>,
pub primary_sale_happened: Option<bool>,
}
Expand description
Args for update call
Fields
data: Option<Data>
primary_sale_happened: Option<bool>
Trait Implementations
sourceimpl BorshDeserialize for UpdateMetadataAccountArgs where
Option<Data>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
impl BorshDeserialize for UpdateMetadataAccountArgs where
Option<Data>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<bool>: BorshDeserialize,
sourceimpl BorshSerialize for UpdateMetadataAccountArgs where
Option<Data>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
impl BorshSerialize for UpdateMetadataAccountArgs where
Option<Data>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<bool>: BorshSerialize,
sourceimpl Clone for UpdateMetadataAccountArgs
impl Clone for UpdateMetadataAccountArgs
sourcefn clone(&self) -> UpdateMetadataAccountArgs
fn clone(&self) -> UpdateMetadataAccountArgs
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 UpdateMetadataAccountArgs
impl Debug for UpdateMetadataAccountArgs
sourceimpl PartialEq<UpdateMetadataAccountArgs> for UpdateMetadataAccountArgs
impl PartialEq<UpdateMetadataAccountArgs> for UpdateMetadataAccountArgs
sourcefn eq(&self, other: &UpdateMetadataAccountArgs) -> bool
fn eq(&self, other: &UpdateMetadataAccountArgs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateMetadataAccountArgs) -> bool
fn ne(&self, other: &UpdateMetadataAccountArgs) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateMetadataAccountArgs
Auto Trait Implementations
impl RefUnwindSafe for UpdateMetadataAccountArgs
impl Send for UpdateMetadataAccountArgs
impl Sync for UpdateMetadataAccountArgs
impl Unpin for UpdateMetadataAccountArgs
impl UnwindSafe for UpdateMetadataAccountArgs
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