pub enum IcIcrcHolderSort {
Balance,
BalanceDescending,
TotalTransactions,
TotalTransactionsDescending,
CreatedTimestamp,
CreatedTimestampDescending,
Principal,
PrincipalDescending,
}Expand description
IcIcrcHolderSort
Sort order accepted by the official ICRC holder index.
Variants§
Balance
Raw aggregate balance in ascending order.
BalanceDescending
Raw aggregate balance in descending order.
TotalTransactions
Total transaction count in ascending order.
TotalTransactionsDescending
Total transaction count in descending order.
CreatedTimestamp
Earliest account creation timestamp in ascending order.
CreatedTimestampDescending
Earliest account creation timestamp in descending order.
Principal
Holder principal in ascending order.
PrincipalDescending
Holder principal in descending order.
Implementations§
Source§impl IcIcrcHolderSort
impl IcIcrcHolderSort
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 IcIcrcHolderSort
impl Clone for IcIcrcHolderSort
Source§fn clone(&self) -> IcIcrcHolderSort
fn clone(&self) -> IcIcrcHolderSort
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 IcIcrcHolderSort
Source§impl Debug for IcIcrcHolderSort
impl Debug for IcIcrcHolderSort
Source§impl Display for IcIcrcHolderSort
impl Display for IcIcrcHolderSort
impl Eq for IcIcrcHolderSort
Source§impl Hash for IcIcrcHolderSort
impl Hash for IcIcrcHolderSort
Source§impl PartialEq for IcIcrcHolderSort
impl PartialEq for IcIcrcHolderSort
Source§impl Serialize for IcIcrcHolderSort
impl Serialize for IcIcrcHolderSort
impl StructuralPartialEq for IcIcrcHolderSort
Auto Trait Implementations§
impl Freeze for IcIcrcHolderSort
impl RefUnwindSafe for IcIcrcHolderSort
impl Send for IcIcrcHolderSort
impl Sync for IcIcrcHolderSort
impl Unpin for IcIcrcHolderSort
impl UnsafeUnpin for IcIcrcHolderSort
impl UnwindSafe for IcIcrcHolderSort
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