Enum hubcaps::SortDirection
[−]
[src]
pub enum SortDirection { Asc, Desc, }
enum representation of Github list sorting options
Variants
Asc
Sort in ascending order (the default)
Desc
Sort in descending order
Trait Implementations
impl Clone for SortDirection
[src]
fn clone(&self) -> SortDirection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SortDirection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for SortDirection
[src]
fn eq(&self, __arg_0: &SortDirection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for SortDirection
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for SortDirection
[src]
fn default() -> SortDirection
[src]
Returns the "default value" for a type. Read more