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.
Fields§
§nonce: &'a AccountView<'a>Implementations§
Source§impl AuthorizeNonceAccount<'_, '_>
impl AuthorizeNonceAccount<'_, '_>
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
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