pub enum NnsProposalListSort {
Show 21 variants
Api,
Id,
Status,
RewardStatus,
Topic,
Proposer,
Title,
Action,
Yes,
No,
TotalVotes,
TallyTime,
VotingPower,
Ballots,
RejectCost,
RewardRound,
Proposed,
Deadline,
Decided,
Executed,
Failed,
}Expand description
NnsProposalListSort
Report-model sort selector for NNS proposal listings.
Variants§
Api
Id
Status
RewardStatus
Topic
Proposer
Title
Action
Yes
No
TotalVotes
TallyTime
VotingPower
Ballots
RejectCost
RewardRound
Proposed
Deadline
Decided
Executed
Failed
Implementations§
Source§impl NnsProposalListSort
impl NnsProposalListSort
pub const fn as_str(self) -> &'static str
pub const fn default_direction(self) -> NnsProposalSortDirection
pub const fn uses_local_direction(self) -> bool
pub const fn direction_label( self, direction: NnsProposalSortDirection, ) -> &'static str
Trait Implementations§
Source§impl Clone for NnsProposalListSort
impl Clone for NnsProposalListSort
Source§fn clone(&self) -> NnsProposalListSort
fn clone(&self) -> NnsProposalListSort
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 NnsProposalListSort
Source§impl Debug for NnsProposalListSort
impl Debug for NnsProposalListSort
Source§impl Default for NnsProposalListSort
impl Default for NnsProposalListSort
Source§fn default() -> NnsProposalListSort
fn default() -> NnsProposalListSort
Returns the “default value” for a type. Read more
impl Eq for NnsProposalListSort
Source§impl PartialEq for NnsProposalListSort
impl PartialEq for NnsProposalListSort
impl StructuralPartialEq for NnsProposalListSort
Auto Trait Implementations§
impl Freeze for NnsProposalListSort
impl RefUnwindSafe for NnsProposalListSort
impl Send for NnsProposalListSort
impl Sync for NnsProposalListSort
impl Unpin for NnsProposalListSort
impl UnsafeUnpin for NnsProposalListSort
impl UnwindSafe for NnsProposalListSort
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