Enum orca::data::Sort

source ·
pub enum Sort {
    Hot,
    New,
    Rising,
    Top(SortTime),
    Controversial(SortTime),
}
Expand description

Sort type of a subreddit

Variants§

§

Hot

Hot

§

New

New

§

Rising

Rising

§

Top(SortTime)

Top within the specified SortTime

§

Controversial(SortTime)

Most controversial within the specified SortTime

Implementations§

Convert to url parameters

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.