pub struct UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
update_primary_sale_happened_via_token
CPI instruction builder.
Implementations§
source§impl<'a, 'b> UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
impl<'a, 'b> UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
Metadata key (pda of [‘metadata’, program id, mint id])
sourcepub fn owner(&mut self, owner: &'b AccountInfo<'a>) -> &mut Self
pub fn owner(&mut self, owner: &'b AccountInfo<'a>) -> &mut Self
Owner on the token account
sourcepub fn token(&mut self, token: &'b AccountInfo<'a>) -> &mut Self
pub fn token(&mut self, token: &'b AccountInfo<'a>) -> &mut Self
Account containing tokens from the metadata’s mint
pub fn add_remaining_account( &mut self, account: InstructionAccountInfo<'a, 'b> ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccountInfo<'a, 'b>] ) -> &mut Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
impl<'a, 'b> !Send for UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for UpdatePrimarySaleHappenedViaTokenCpiBuilder<'a, 'b>
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