pub struct RevokeCollectionAuthorityBuilder { /* private fields */ }
Expand description
Instruction builder for RevokeCollectionAuthority
.
Accounts:
[writable]
collection_authority_record[writable]
delegate_authority[writable, signer]
revoke_authority[]
metadata[]
mint
Implementations§
source§impl RevokeCollectionAuthorityBuilder
impl RevokeCollectionAuthorityBuilder
pub fn new() -> Self
Collection Authority Record PDA
Delegated Collection Authority
Update Authority, or Delegated Authority, of Collection NFT
sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an aditional account to the instruction.
sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for RevokeCollectionAuthorityBuilder
impl Default for RevokeCollectionAuthorityBuilder
source§fn default() -> RevokeCollectionAuthorityBuilder
fn default() -> RevokeCollectionAuthorityBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RevokeCollectionAuthorityBuilder
impl Send for RevokeCollectionAuthorityBuilder
impl Sync for RevokeCollectionAuthorityBuilder
impl Unpin for RevokeCollectionAuthorityBuilder
impl UnwindSafe for RevokeCollectionAuthorityBuilder
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