pub struct ZCompressionMut<'a> {
pub mode: <CompressionMode as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub amount: <u64 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub mint: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub source_or_recipient: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub authority: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub pool_account_index: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub pool_index: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub bump: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
pub decimals: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut,
}Fields§
§mode: <CompressionMode as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§amount: <u64 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§mint: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§source_or_recipient: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§pool_account_index: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§pool_index: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§bump: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMut§decimals: <u8 as ZeroCopyAtMut<'a>>::ZeroCopyAtMutImplementations§
Source§impl ZCompressionMut<'_>
impl ZCompressionMut<'_>
pub fn mode(&self) -> Result<CompressionMode, TokenError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ZCompressionMut<'a>
impl<'a> RefUnwindSafe for ZCompressionMut<'a>
impl<'a> Send for ZCompressionMut<'a>
impl<'a> Sync for ZCompressionMut<'a>
impl<'a> Unpin for ZCompressionMut<'a>
impl<'a> !UnwindSafe for ZCompressionMut<'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