pub struct Revoke<'a> {
pub source: &'a AccountView<'a>,
pub authority: &'a AccountView<'a>,
}Expand description
Builder for SPL Token Revoke (instruction index 5).
Fields§
§source: &'a AccountView<'a>Implementations§
Source§impl Revoke<'_>
impl Revoke<'_>
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
pub fn invoke_multisig( &self, multisig_signers: &[&AccountView<'_>], ) -> ProgramResult
pub fn invoke_signed_multisig( &self, multisig_signers: &[&AccountView<'_>], signers: &[Signer<'_, '_>], ) -> ProgramResult
Auto Trait Implementations§
impl<'a> !Send for Revoke<'a>
impl<'a> !Sync for Revoke<'a>
impl<'a> Freeze for Revoke<'a>
impl<'a> RefUnwindSafe for Revoke<'a>
impl<'a> Unpin for Revoke<'a>
impl<'a> UnsafeUnpin for Revoke<'a>
impl<'a> UnwindSafe for Revoke<'a>
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