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

pub struct ComputeRoutesResponse {
    pub routes: Vec<Route>,
    pub fallback_info: Option<FallbackInfo>,
}

ComputeRoutes the response message.

Fields

routes: Vec<Route>

Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don’t. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.

fallback_info: Option<FallbackInfo>

In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.

Trait Implementations

impl Clone for ComputeRoutesResponse[src]

impl Debug for ComputeRoutesResponse[src]

impl Default for ComputeRoutesResponse[src]

impl Message for ComputeRoutesResponse[src]

impl PartialEq<ComputeRoutesResponse> for ComputeRoutesResponse[src]

impl StructuralPartialEq for ComputeRoutesResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for ComputeRoutesResponse

impl Send for ComputeRoutesResponse

impl Sync for ComputeRoutesResponse

impl Unpin for ComputeRoutesResponse

impl UnwindSafe for ComputeRoutesResponse

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]