pub struct Revoke {
Show 15 fields pub delegate_record: Option<Pubkey>, pub delegate: Pubkey, pub metadata: Pubkey, pub master_edition: Option<Pubkey>, pub token_record: Option<Pubkey>, pub mint: Pubkey, pub token: Option<Pubkey>, pub authority: Pubkey, pub payer: Pubkey, pub system_program: Pubkey, pub sysvar_instructions: Pubkey, pub spl_token_program: Option<Pubkey>, pub authorization_rules_program: Option<Pubkey>, pub authorization_rules: Option<Pubkey>, pub args: RevokeArgs,
}

Fields§

§delegate_record: Option<Pubkey>§delegate: Pubkey§metadata: Pubkey§master_edition: Option<Pubkey>§token_record: Option<Pubkey>§mint: Pubkey§token: Option<Pubkey>§authority: Pubkey§payer: Pubkey§system_program: Pubkey§sysvar_instructions: Pubkey§spl_token_program: Option<Pubkey>§authorization_rules_program: Option<Pubkey>§authorization_rules: Option<Pubkey>§args: RevokeArgs

Trait Implementations§

Revokes a delegate.

Accounts:

  1. [writable] Delegate record account
  2. [] Delegated owner
  3. [writable] Metadata account
  4. [optional] Master Edition account
  5. [] Mint account
  6. [optional, writable] Token account
  7. [signer] Authority (update authority, token owner or delegate) of the revoke
  8. [signer, writable] Payer
  9. [] System Program
  10. [] Instructions sysvar account
  11. [optional] SPL Token Program
  12. [optional] Token Authorization Rules program
  13. [optional] Token Authorization Rules account

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.