Struct gapi_grpc::google::maps::routes::v1::TrafficRestriction[][src]

pub struct TrafficRestriction {
    pub license_plate_last_character_restriction: Option<LicensePlateLastCharacterRestriction>,
}

Encapsulates the traffic restriction applied to the route. As of October 2019, only Jakarta, Indonesia takes into consideration.

Fields

license_plate_last_character_restriction: Option<LicensePlateLastCharacterRestriction>

The restriction based on the vehicle’s license plate last character. If this field does not exist, then no restriction on route.

Trait Implementations

impl Clone for TrafficRestriction[src]

impl Debug for TrafficRestriction[src]

impl Default for TrafficRestriction[src]

impl Message for TrafficRestriction[src]

impl PartialEq<TrafficRestriction> for TrafficRestriction[src]

impl StructuralPartialEq for TrafficRestriction[src]

Auto Trait Implementations

impl RefUnwindSafe for TrafficRestriction

impl Send for TrafficRestriction

impl Sync for TrafficRestriction

impl Unpin for TrafficRestriction

impl UnwindSafe for TrafficRestriction

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]