Enum gtfs_server::models::api::search::ascdesc::AscDesc[][src]

pub enum AscDesc {
    ASC,
    DESC,
}

Variants

Methods

impl AscDesc
[src]

Trait Implementations

impl Clone for AscDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for AscDesc
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'v> FromFormValue<'v> for AscDesc
[src]

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

Parses an instance of Self from an HTTP form field value or returns an Error if one cannot be parsed. Read more

Returns a default value to be used when the form field does not exist. If this returns None, then the field is required. Otherwise, this should return Some(default_value). The default implementation simply returns None. Read more

Auto Trait Implementations

impl Send for AscDesc

impl Sync for AscDesc