pub struct AllocateWithSeed<'a, 'b> {
pub account: &'a AccountView<'a>,
pub base: &'a AccountView<'a>,
pub seed: &'b [u8],
pub space: u64,
pub owner: &'b Address,
}Expand description
Builder for AllocateWithSeed.
Fields§
§account: &'a AccountView<'a>§base: &'a AccountView<'a>§seed: &'b [u8]§space: u64§owner: &'b AddressImplementations§
Source§impl AllocateWithSeed<'_, '_>
impl AllocateWithSeed<'_, '_>
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !Send for AllocateWithSeed<'a, 'b>
impl<'a, 'b> !Sync for AllocateWithSeed<'a, 'b>
impl<'a, 'b> Freeze for AllocateWithSeed<'a, 'b>
impl<'a, 'b> RefUnwindSafe for AllocateWithSeed<'a, 'b>
impl<'a, 'b> Unpin for AllocateWithSeed<'a, 'b>
impl<'a, 'b> UnsafeUnpin for AllocateWithSeed<'a, 'b>
impl<'a, 'b> UnwindSafe for AllocateWithSeed<'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