pub struct UpdateAsUpdateAuthorityV2Builder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl UpdateAsUpdateAuthorityV2Builder
impl UpdateAsUpdateAuthorityV2Builder
pub fn new() -> Self
Update authority or delegate
sourcepub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
pub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
[optional account]
Delegate record PDA
sourcepub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
pub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
[optional account]
Edition account
sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
System program
sourcepub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
[optional account, default to 'Sysvar1nstructions1111111111111111111111111']
Instructions sysvar account
[optional account]
Token Authorization Rules Program
[optional account]
Token Authorization Rules account
[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]
sourcepub fn collection(&mut self, collection: CollectionToggle) -> &mut Self
pub fn collection(&mut self, collection: CollectionToggle) -> &mut Self
[optional argument, defaults to 'CollectionToggle::None']
sourcepub fn collection_details(
&mut self,
collection_details: CollectionDetailsToggle
) -> &mut Self
pub fn collection_details( &mut self, collection_details: CollectionDetailsToggle ) -> &mut Self
[optional argument, defaults to 'CollectionDetailsToggle::None']
sourcepub fn uses(&mut self, uses: UsesToggle) -> &mut Self
pub fn uses(&mut self, uses: UsesToggle) -> &mut Self
[optional argument, defaults to 'UsesToggle::None']
sourcepub fn rule_set(&mut self, rule_set: RuleSetToggle) -> &mut Self
pub fn rule_set(&mut self, rule_set: RuleSetToggle) -> &mut Self
[optional argument, defaults to 'RuleSetToggle::None']
sourcepub fn token_standard(&mut self, token_standard: TokenStandard) -> &mut Self
pub fn token_standard(&mut self, token_standard: TokenStandard) -> &mut Self
[optional argument]
[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 UpdateAsUpdateAuthorityV2Builder
impl Default for UpdateAsUpdateAuthorityV2Builder
source§fn default() -> UpdateAsUpdateAuthorityV2Builder
fn default() -> UpdateAsUpdateAuthorityV2Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAsUpdateAuthorityV2Builder
impl Send for UpdateAsUpdateAuthorityV2Builder
impl Sync for UpdateAsUpdateAuthorityV2Builder
impl Unpin for UpdateAsUpdateAuthorityV2Builder
impl UnwindSafe for UpdateAsUpdateAuthorityV2Builder
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