Struct gapi_grpc::google::assistant::embedded::v1alpha2::DeviceLocation[][src]

pub struct DeviceLocation {
    pub type: Option<Type>,
}

There are three sources of locations. They are used with this precedence:

  1. This DeviceLocation, which is primarily used for mobile devices with GPS .
  2. Location specified by the user during device setup; this is per-user, per device. This location is used if DeviceLocation is not specified.
  3. Inferred location based on IP address. This is used only if neither of the above are specified.

Fields

type: Option<Type>

Trait Implementations

impl Clone for DeviceLocation[src]

impl Debug for DeviceLocation[src]

impl Default for DeviceLocation[src]

impl Message for DeviceLocation[src]

impl PartialEq<DeviceLocation> for DeviceLocation[src]

impl StructuralPartialEq for DeviceLocation[src]

Auto Trait Implementations

impl RefUnwindSafe for DeviceLocation

impl Send for DeviceLocation

impl Sync for DeviceLocation

impl Unpin for DeviceLocation

impl UnwindSafe for DeviceLocation

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]