pub struct Create<'a, AI> {
pub funder: &'a AI,
pub account: &'a AI,
pub lamports: u64,
pub space: u64,
pub owner: &'a Pubkey,
}Expand description
Argument for SystemProgram::create_account
Fields§
§funder: &'a AIThe funder of the new account
account: &'a AIThe account to create
lamports: u64The amount of lamports to give the new account
space: u64The amount of space to allocate to the new account
owner: &'a PubkeyThe owning program of the new account
Trait Implementations§
impl<'a, AI: Copy> Copy for Create<'a, AI>
Auto Trait Implementations§
impl<'a, AI> Freeze for Create<'a, AI>
impl<'a, AI> RefUnwindSafe for Create<'a, AI>where
AI: RefUnwindSafe,
impl<'a, AI> Send for Create<'a, AI>where
AI: Sync,
impl<'a, AI> Sync for Create<'a, AI>where
AI: Sync,
impl<'a, AI> Unpin for Create<'a, AI>
impl<'a, AI> UnwindSafe for Create<'a, AI>where
AI: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more