pub struct GenericAccountBuilder<'a> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AccountBuilderBase for GenericAccountBuilder<'_>
impl AccountBuilderBase for GenericAccountBuilder<'_>
fn account_state_mut(&mut self) -> &mut Account
fn address_mut(&mut self) -> &mut Pubkey
fn pubkey(self, pk: Pubkey) -> Self
fn owner(self, pk: Pubkey) -> Self
fn executable(self, val: bool) -> Self
fn rent_epoch(self, val: u64) -> Self
fn lamports(self, amount: u64) -> Self
fn size(self, length: usize) -> Self
fn data(self, bytes: &[u8]) -> Self
Auto Trait Implementations§
impl<'a> Freeze for GenericAccountBuilder<'a>
impl<'a> !RefUnwindSafe for GenericAccountBuilder<'a>
impl<'a> Send for GenericAccountBuilder<'a>
impl<'a> Sync for GenericAccountBuilder<'a>
impl<'a> Unpin for GenericAccountBuilder<'a>
impl<'a> UnsafeUnpin for GenericAccountBuilder<'a>
impl<'a> !UnwindSafe for GenericAccountBuilder<'a>
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> 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