Struct safecoin_account_decoder::parse_token::UiTokenAmount [−][src]
pub struct UiTokenAmount { pub ui_amount: Option<f64>, pub decimals: u8, pub amount: StringAmount, pub ui_amount_string: StringDecimals, }
Fields
ui_amount: Option<f64>
decimals: u8
amount: StringAmount
ui_amount_string: StringDecimals
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UiTokenAmount
impl Send for UiTokenAmount
impl Sync for UiTokenAmount
impl Unpin for UiTokenAmount
impl UnwindSafe for UiTokenAmount
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self