pub struct TransactionAccountViewMut<'a> { /* private fields */ }Trait Implementations§
Source§impl<'a> Debug for TransactionAccountViewMut<'a>
impl<'a> Debug for TransactionAccountViewMut<'a>
Source§impl ReadableAccount for TransactionAccountViewMut<'_>
impl ReadableAccount for TransactionAccountViewMut<'_>
Source§impl WritableAccount for TransactionAccountViewMut<'_>
impl WritableAccount for TransactionAccountViewMut<'_>
fn set_lamports(&mut self, lamports: u64)
fn data_as_mut_slice(&mut self) -> &mut [u8] ⓘ
fn set_owner(&mut self, owner: Pubkey)
fn copy_into_owner_from_slice(&mut self, source: &[u8])
fn set_executable(&mut self, executable: bool)
fn set_rent_epoch(&mut self, epoch: u64)
fn create( _lamports: u64, _data: Vec<u8>, _owner: Pubkey, _executable: bool, _rent_epoch: u64, ) -> Self
fn checked_add_lamports(&mut self, lamports: u64) -> Result<(), LamportsError>
fn checked_sub_lamports(&mut self, lamports: u64) -> Result<(), LamportsError>
fn saturating_add_lamports(&mut self, lamports: u64)
fn saturating_sub_lamports(&mut self, lamports: u64)
Auto Trait Implementations§
impl<'a> Freeze for TransactionAccountViewMut<'a>
impl<'a> RefUnwindSafe for TransactionAccountViewMut<'a>
impl<'a> Send for TransactionAccountViewMut<'a>
impl<'a> Sync for TransactionAccountViewMut<'a>
impl<'a> Unpin for TransactionAccountViewMut<'a>
impl<'a> !UnwindSafe for TransactionAccountViewMut<'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