pub struct UpdatePrimarySaleHappenedViaTokenBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl UpdatePrimarySaleHappenedViaTokenBuilder
impl UpdatePrimarySaleHappenedViaTokenBuilder
pub fn new() -> Self
sourcepub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
Metadata key (pda of [‘metadata’, program id, mint id])
sourcepub fn token(&mut self, token: Pubkey) -> &mut Self
pub fn token(&mut self, token: Pubkey) -> &mut Self
Account containing tokens from the metadata’s mint
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 UpdatePrimarySaleHappenedViaTokenBuilder
impl Default for UpdatePrimarySaleHappenedViaTokenBuilder
source§fn default() -> UpdatePrimarySaleHappenedViaTokenBuilder
fn default() -> UpdatePrimarySaleHappenedViaTokenBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePrimarySaleHappenedViaTokenBuilder
impl Send for UpdatePrimarySaleHappenedViaTokenBuilder
impl Sync for UpdatePrimarySaleHappenedViaTokenBuilder
impl Unpin for UpdatePrimarySaleHappenedViaTokenBuilder
impl UnwindSafe for UpdatePrimarySaleHappenedViaTokenBuilder
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