[][src]Struct google_mybusiness4::VerifyLocationRequest

pub struct VerifyLocationRequest {
    pub address_input: Option<AddressInput>,
    pub language_code: Option<String>,
    pub context: Option<ServiceBusinessContext>,
    pub phone_input: Option<PhoneInput>,
    pub vetted_partner_input: Option<VettedPartnerInput>,
    pub method: Option<String>,
    pub email_input: Option<EmailInput>,
}

Request message for Verifications.VerifyLocation.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

address_input: Option<AddressInput>

The input for ADDRESS method.

language_code: Option<String>

The BCP 47 language code representing the language that is to be used for the verification process.

context: Option<ServiceBusinessContext>

Extra context information for the verification of service businesses. Required for the locations whose business type is CUSTOMER_LOCATION_ONLY. For ADDRESS verification, the address will be used to send out postcard. For other methods, it should be the same as the one that is passed to FetchVerificationOptions. INVALID_ARGUMENT will be thrown if it is set for other types of business locations.

phone_input: Option<PhoneInput>

The input for PHONE_CALL/SMS method

vetted_partner_input: Option<VettedPartnerInput>

The input for VETTED_PARTNER method. The input is not needed for a vetted account.

method: Option<String>

Verification method.

email_input: Option<EmailInput>

The input for EMAIL method.

Trait Implementations

impl Clone for VerifyLocationRequest[src]

impl Debug for VerifyLocationRequest[src]

impl Default for VerifyLocationRequest[src]

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

impl RequestValue for VerifyLocationRequest[src]

impl Serialize for VerifyLocationRequest[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