pub struct UpdateMetadataAccountV2Builder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl UpdateMetadataAccountV2Builder
impl UpdateMetadataAccountV2Builder
pub fn new() -> Self
Update authority key
[optional argument]
sourcepub fn primary_sale_happened(
&mut self,
primary_sale_happened: bool
) -> &mut Self
pub fn primary_sale_happened( &mut self, primary_sale_happened: bool ) -> &mut Self
[optional argument]
sourcepub fn is_mutable(&mut self, is_mutable: bool) -> &mut Self
pub fn is_mutable(&mut self, is_mutable: bool) -> &mut Self
[optional argument]
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for UpdateMetadataAccountV2Builder
impl Default for UpdateMetadataAccountV2Builder
source§fn default() -> UpdateMetadataAccountV2Builder
fn default() -> UpdateMetadataAccountV2Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdateMetadataAccountV2Builder
impl Send for UpdateMetadataAccountV2Builder
impl Sync for UpdateMetadataAccountV2Builder
impl Unpin for UpdateMetadataAccountV2Builder
impl UnwindSafe for UpdateMetadataAccountV2Builder
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