pub enum IcIcrcAccountSort {
Id,
IdDescending,
Balance,
BalanceDescending,
TotalTransactions,
TotalTransactionsDescending,
CreatedTimestamp,
CreatedTimestampDescending,
Owner,
OwnerDescending,
}Expand description
IcIcrcAccountSort
Sort order accepted by the official ICRC account index.
Variants§
Id
Account id in ascending order.
IdDescending
Account id in descending order.
Balance
Raw balance in ascending order.
BalanceDescending
Raw balance in descending order.
TotalTransactions
Total transaction count in ascending order.
TotalTransactionsDescending
Total transaction count in descending order.
CreatedTimestamp
Creation timestamp in ascending order.
CreatedTimestampDescending
Creation timestamp in descending order.
Owner
Owner principal in ascending order.
OwnerDescending
Owner principal in descending order.
Implementations§
Source§impl IcIcrcAccountSort
impl IcIcrcAccountSort
Sourcepub const fn as_api_value(self) -> &'static str
pub const fn as_api_value(self) -> &'static str
Return the exact official API query value.
Trait Implementations§
Source§impl Clone for IcIcrcAccountSort
impl Clone for IcIcrcAccountSort
Source§fn clone(&self) -> IcIcrcAccountSort
fn clone(&self) -> IcIcrcAccountSort
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 moreimpl Copy for IcIcrcAccountSort
Source§impl Debug for IcIcrcAccountSort
impl Debug for IcIcrcAccountSort
Source§impl Display for IcIcrcAccountSort
impl Display for IcIcrcAccountSort
impl Eq for IcIcrcAccountSort
Source§impl Hash for IcIcrcAccountSort
impl Hash for IcIcrcAccountSort
Source§impl PartialEq for IcIcrcAccountSort
impl PartialEq for IcIcrcAccountSort
Source§impl Serialize for IcIcrcAccountSort
impl Serialize for IcIcrcAccountSort
impl StructuralPartialEq for IcIcrcAccountSort
Auto Trait Implementations§
impl Freeze for IcIcrcAccountSort
impl RefUnwindSafe for IcIcrcAccountSort
impl Send for IcIcrcAccountSort
impl Sync for IcIcrcAccountSort
impl Unpin for IcIcrcAccountSort
impl UnsafeUnpin for IcIcrcAccountSort
impl UnwindSafe for IcIcrcAccountSort
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