pub struct CompressedTokenAccount {
pub token: TokenData,
pub account: CompressedAccount,
}Fields§
§token: TokenDataToken-specific data (mint, owner, amount, delegate, state, tlv)
account: CompressedAccountGeneral account information (address, hash, lamports, merkle context, etc.)
Trait Implementations§
Source§impl Clone for CompressedTokenAccount
impl Clone for CompressedTokenAccount
Source§fn clone(&self) -> CompressedTokenAccount
fn clone(&self) -> CompressedTokenAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompressedTokenAccount
impl Debug for CompressedTokenAccount
Source§impl Default for CompressedTokenAccount
impl Default for CompressedTokenAccount
Source§fn default() -> CompressedTokenAccount
fn default() -> CompressedTokenAccount
Returns the “default value” for a type. Read more
Source§impl Into<TokenDataWithMerkleContext> for CompressedTokenAccount
impl Into<TokenDataWithMerkleContext> for CompressedTokenAccount
Source§fn into(self) -> TokenDataWithMerkleContext
fn into(self) -> TokenDataWithMerkleContext
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for CompressedTokenAccount
impl PartialEq for CompressedTokenAccount
Source§impl TryFrom<&TokenAccount> for CompressedTokenAccount
impl TryFrom<&TokenAccount> for CompressedTokenAccount
Source§type Error = IndexerError
type Error = IndexerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&TokenAccountV2> for CompressedTokenAccount
impl TryFrom<&TokenAccountV2> for CompressedTokenAccount
Source§type Error = IndexerError
type Error = IndexerError
The type returned in the event of a conversion error.
Source§impl TryFrom<TokenDataWithMerkleContext> for CompressedTokenAccount
impl TryFrom<TokenDataWithMerkleContext> for CompressedTokenAccount
Source§type Error = IndexerError
type Error = IndexerError
The type returned in the event of a conversion error.
impl StructuralPartialEq for CompressedTokenAccount
Auto Trait Implementations§
impl Freeze for CompressedTokenAccount
impl RefUnwindSafe for CompressedTokenAccount
impl Send for CompressedTokenAccount
impl Sync for CompressedTokenAccount
impl Unpin for CompressedTokenAccount
impl UnwindSafe for CompressedTokenAccount
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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