pub struct AuthorizeNonceAccount<'a, 'b> {
pub nonce: &'a AccountView<'a>,
pub authority: &'a AccountView<'a>,
pub new_authority: &'b Address,
}Expand description
Builder for AuthorizeNonceAccount (instruction 7).
Accounts: [nonce (writable), current_authority (signer)].
Fields§
§nonce: &'a AccountView<'a>Implementations§
Source§impl AuthorizeNonceAccount<'_, '_>
impl AuthorizeNonceAccount<'_, '_>
Sourcepub fn invoke(&self) -> ProgramResult
pub fn invoke(&self) -> ProgramResult
Invoke (no PDA signers).
Sourcepub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
Invoke with PDA signers.
Auto Trait Implementations§
impl<'a, 'b> !Send for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> !Sync for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> Freeze for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> RefUnwindSafe for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> Unpin for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> UnsafeUnpin for AuthorizeNonceAccount<'a, 'b>
impl<'a, 'b> UnwindSafe for AuthorizeNonceAccount<'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