pub struct IcrcAllowanceReport {Show 13 fields
pub schema_version: u32,
pub ledger_canister_id: String,
pub account_owner: String,
pub account_subaccount_hex: Option<String>,
pub spender_owner: String,
pub spender_subaccount_hex: Option<String>,
pub fetched_at: String,
pub source_endpoint: String,
pub fetched_by: String,
pub token_symbol: String,
pub decimals: u8,
pub allowance: String,
pub expires_at_unix_nanos: Option<String>,
}Expand description
IcrcAllowanceReport
Serializable report for one generic ICRC allowance lookup.
Fields§
§schema_version: u32§ledger_canister_id: String§account_owner: String§account_subaccount_hex: Option<String>§spender_owner: String§spender_subaccount_hex: Option<String>§fetched_at: String§source_endpoint: String§fetched_by: String§token_symbol: String§decimals: u8§allowance: String§expires_at_unix_nanos: Option<String>Trait Implementations§
Source§impl Clone for IcrcAllowanceReport
impl Clone for IcrcAllowanceReport
Source§fn clone(&self) -> IcrcAllowanceReport
fn clone(&self) -> IcrcAllowanceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IcrcAllowanceReport
impl Debug for IcrcAllowanceReport
impl Eq for IcrcAllowanceReport
Source§impl PartialEq for IcrcAllowanceReport
impl PartialEq for IcrcAllowanceReport
Source§fn eq(&self, other: &IcrcAllowanceReport) -> bool
fn eq(&self, other: &IcrcAllowanceReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IcrcAllowanceReport
impl Serialize for IcrcAllowanceReport
impl StructuralPartialEq for IcrcAllowanceReport
Auto Trait Implementations§
impl Freeze for IcrcAllowanceReport
impl RefUnwindSafe for IcrcAllowanceReport
impl Send for IcrcAllowanceReport
impl Sync for IcrcAllowanceReport
impl Unpin for IcrcAllowanceReport
impl UnsafeUnpin for IcrcAllowanceReport
impl UnwindSafe for IcrcAllowanceReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.