[][src]Struct google_mybusiness4::VerificationOption

pub struct VerificationOption {
    pub email_data: Option<EmailVerificationData>,
    pub address_data: Option<AddressVerificationData>,
    pub verification_method: Option<String>,
    pub phone_data: Option<PhoneVerificationData>,
}

The verification option represents how to verify the location (indicated by verification method) and where the verification will be sent to (indicated by display data).

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

Fields

email_data: Option<EmailVerificationData>

Set only if the method is EMAIL.

address_data: Option<AddressVerificationData>

Set only if the method is MAIL.

verification_method: Option<String>

Method to verify the location.

phone_data: Option<PhoneVerificationData>

Set only if the method is PHONE_CALL or SMS.

Trait Implementations

impl Clone for VerificationOption[src]

impl Debug for VerificationOption[src]

impl Default for VerificationOption[src]

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

impl Part for VerificationOption[src]

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