pub struct AssignWithSeed<'a, 'b> {
pub account: &'a AccountView<'a>,
pub base: &'a AccountView<'a>,
pub seed: &'b [u8],
pub owner: &'b Address,
}Expand description
Builder for AssignWithSeed.
Fields§
§account: &'a AccountView<'a>§base: &'a AccountView<'a>§seed: &'b [u8]§owner: &'b AddressImplementations§
Source§impl AssignWithSeed<'_, '_>
impl AssignWithSeed<'_, '_>
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 AssignWithSeed<'a, 'b>
impl<'a, 'b> !Sync for AssignWithSeed<'a, 'b>
impl<'a, 'b> Freeze for AssignWithSeed<'a, 'b>
impl<'a, 'b> RefUnwindSafe for AssignWithSeed<'a, 'b>
impl<'a, 'b> Unpin for AssignWithSeed<'a, 'b>
impl<'a, 'b> UnsafeUnpin for AssignWithSeed<'a, 'b>
impl<'a, 'b> UnwindSafe for AssignWithSeed<'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