Enum googapis::maps::fleetengine::v1::search_vehicles_request::VehicleMatchOrder [−][src]
#[repr(i32)]
pub enum VehicleMatchOrder {
UnknownVehicleMatchOrder,
PickupPointEta,
PickupPointDistance,
DropoffPointEta,
PickupPointStraightDistance,
Cost,
}
Expand description
Specifies the sort order of the vehicle matches in the response.
Variants
Default, used for unspecified or unrecognized vehicle matches order.
Ascending order by vehicle driving time to the pickup point.
Ascending order by the vehicle driving distance to the pickup point.
Ascending order by vehicle driving time to the dropoff point. This order can only be used if the dropoff_point is specified in the request.
Ascending order by straightline distance from vehicle location to pickup location. This is used primarily as a backup if the maps backend is not reachable.
Ascending order by the match cost.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for VehicleMatchOrder
impl Send for VehicleMatchOrder
impl Sync for VehicleMatchOrder
impl Unpin for VehicleMatchOrder
impl UnwindSafe for VehicleMatchOrder
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more