#[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
impl Eq for UpdateMetadataAccountArgs
impl StructuralEq for UpdateMetadataAccountArgs
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