pub struct IcrcAllowanceData {
pub token_symbol: String,
pub decimals: u8,
pub allowance: String,
pub expires_at_unix_nanos: Option<String>,
}Expand description
IcrcAllowanceData
Raw allowance result shared by sources and reports plus enough token metadata for display.
Fields§
§token_symbol: StringLedger token symbol.
decimals: u8Ledger token decimal places.
allowance: StringAllowance in raw decimal base units.
expires_at_unix_nanos: Option<String>Optional expiry in raw decimal Unix nanoseconds.
Trait Implementations§
Source§impl Clone for IcrcAllowanceData
impl Clone for IcrcAllowanceData
Source§impl Debug for IcrcAllowanceData
impl Debug for IcrcAllowanceData
impl Eq for IcrcAllowanceData
Source§impl PartialEq for IcrcAllowanceData
impl PartialEq for IcrcAllowanceData
Source§impl Serialize for IcrcAllowanceData
impl Serialize for IcrcAllowanceData
impl StructuralPartialEq for IcrcAllowanceData
Auto Trait Implementations§
impl Freeze for IcrcAllowanceData
impl RefUnwindSafe for IcrcAllowanceData
impl Send for IcrcAllowanceData
impl Sync for IcrcAllowanceData
impl Unpin for IcrcAllowanceData
impl UnsafeUnpin for IcrcAllowanceData
impl UnwindSafe for IcrcAllowanceData
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