Enum gtfs_server::models::api::sort::tripsort::TripSort[][src]

pub enum TripSort {
    ArrivalTime,
    DepartureTime,
    DirectionId,
    ServiceId,
    RouteId,
    Uid,
    None,
}

Variants

Trait Implementations

impl Clone for TripSort
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TripSort
[src]

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

This method tests for !=.

impl<'f> FromFormValue<'f> for TripSort
[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 TripSort

impl Sync for TripSort