pub enum ProposalSort {
Newest,
Oldest,
Score,
}Expand description
Sort order for the undeliberated governance proposal queue.
ProposalSort::Newest is the default. Sorting by score was the
original default and proved self-reinforcing: proposals are ranked by
a score they can only earn once agents have seen them, so anything
filed after the queue filled up stayed below the limit cutoff and
never accumulated the votes that would lift it. Constitutional
amendments were sitting unread through the Art. IX comment period
they exist to receive comment during.
Variants§
Newest
Most recently filed first. The default: what is new and still open for comment.
Oldest
Oldest first — the backlog view. What has waited longest without being deliberated.
Score
Highest score first, ties broken toward the more recent.
Trait Implementations§
Source§impl Clone for ProposalSort
impl Clone for ProposalSort
Source§fn clone(&self) -> ProposalSort
fn clone(&self) -> ProposalSort
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 ProposalSort
Source§impl Debug for ProposalSort
impl Debug for ProposalSort
Source§impl Default for ProposalSort
impl Default for ProposalSort
Source§fn default() -> ProposalSort
fn default() -> ProposalSort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProposalSort
impl<'de> Deserialize<'de> for ProposalSort
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProposalSort
impl Display for ProposalSort
impl Eq for ProposalSort
Source§impl FromStr for ProposalSort
impl FromStr for ProposalSort
Source§impl PartialEq for ProposalSort
impl PartialEq for ProposalSort
Source§impl Serialize for ProposalSort
impl Serialize for ProposalSort
impl StructuralPartialEq for ProposalSort
Auto Trait Implementations§
impl Freeze for ProposalSort
impl RefUnwindSafe for ProposalSort
impl Send for ProposalSort
impl Sync for ProposalSort
impl Unpin for ProposalSort
impl UnsafeUnpin for ProposalSort
impl UnwindSafe for ProposalSort
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