Struct google_mybusiness4::api::VerifyLocationRequest[][src]

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

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.

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.

email_input: Option<EmailInput>

The input for EMAIL method.

language_code: Option<String>

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

method: Option<String>

Verification method.

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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.