[][src]Struct google_mybusiness4::LocationKey

pub struct LocationKey {
    pub plus_page_id: Option<String>,
    pub explicit_no_place_id: Option<bool>,
    pub place_id: Option<String>,
    pub request_id: Option<String>,
}

Alternate/surrogate key references for a location.

This type is not used in any activity, and only used as part of another schema.

Fields

plus_page_id: Option<String>

Output only. If this location has a Google+ page associated with it, this is populated with the Google+ page ID for this location.

explicit_no_place_id: Option<bool>

Output only. A value of true indicates that an unset place ID is deliberate, which is different from no association being made yet.

place_id: Option<String>

If this location has been verified and is connected to/appears on Google Maps, this field is populated with the place ID for the location. This ID can be used in various Places APIs.

If this location is unverified, this field may be populated if the location has been associated with a place that appears on Google Maps.

This field can be set during Create calls, but not for Update.

The additional explicit_no_place_id bool qualifies whether an unset place ID is deliberate or not.

request_id: Option<String>

Output only. The request_id used to create this location. May be empty if this location was created outside of the GMB API or Google My Business Locations.

Trait Implementations

impl Clone for LocationKey[src]

impl Debug for LocationKey[src]

impl Default for LocationKey[src]

impl<'de> Deserialize<'de> for LocationKey[src]

impl Part for LocationKey[src]

impl Serialize for LocationKey[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any