Struct gapi_grpc::google::maps::routes::v1::route_objective::RateCard[][src]

pub struct RateCard {
    pub cost_per_minute: Option<MonetaryCost>,
    pub cost_per_km: Option<MonetaryCost>,
    pub include_tolls: bool,
}

Encapsulates a RateCard route objective.

Fields

cost_per_minute: Option<MonetaryCost>

Optional. Cost per minute.

cost_per_km: Option<MonetaryCost>

Optional. Cost per kilometer.

include_tolls: bool

Optional. Whether to include toll cost in the overall cost.

Trait Implementations

impl Clone for RateCard[src]

impl Debug for RateCard[src]

impl Default for RateCard[src]

impl Message for RateCard[src]

impl PartialEq<RateCard> for RateCard[src]

impl StructuralPartialEq for RateCard[src]

Auto Trait Implementations

impl RefUnwindSafe for RateCard

impl Send for RateCard

impl Sync for RateCard

impl Unpin for RateCard

impl UnwindSafe for RateCard

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]