pub struct UiTokenAccount {
pub mint: String,
pub owner: String,
pub token_amount: UiTokenAmount,
pub delegate: Option<String>,
pub state: UiAccountState,
pub is_native: bool,
pub rent_exempt_reserve: Option<UiTokenAmount>,
pub delegated_amount: Option<UiTokenAmount>,
pub close_authority: Option<String>,
pub extensions: Vec<UiExtension>,
}
Fields§
§mint: String
§owner: String
§token_amount: UiTokenAmount
§delegate: Option<String>
§state: UiAccountState
§is_native: bool
§rent_exempt_reserve: Option<UiTokenAmount>
§delegated_amount: Option<UiTokenAmount>
§extensions: Vec<UiExtension>
Trait Implementations§
Source§impl Debug for UiTokenAccount
impl Debug for UiTokenAccount
Source§impl<'de> Deserialize<'de> for UiTokenAccount
impl<'de> Deserialize<'de> for UiTokenAccount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UiTokenAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UiTokenAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UiTokenAccount
impl PartialEq for UiTokenAccount
Source§impl Serialize for UiTokenAccount
impl Serialize for UiTokenAccount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for UiTokenAccount
Auto Trait Implementations§
impl Freeze for UiTokenAccount
impl RefUnwindSafe for UiTokenAccount
impl Send for UiTokenAccount
impl Sync for UiTokenAccount
impl Unpin for UiTokenAccount
impl UnwindSafe for UiTokenAccount
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> 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