Struct google_mybusiness4::api::VerificationOption
source · pub struct VerificationOption {
pub address_data: Option<AddressVerificationData>,
pub email_data: Option<EmailVerificationData>,
pub phone_data: Option<PhoneVerificationData>,
pub verification_method: Option<String>,
}
Expand description
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§
§address_data: Option<AddressVerificationData>
Set only if the method is MAIL.
email_data: Option<EmailVerificationData>
Set only if the method is EMAIL.
phone_data: Option<PhoneVerificationData>
Set only if the method is PHONE_CALL or SMS.
verification_method: Option<String>
Method to verify the location.
Trait Implementations§
source§impl Clone for VerificationOption
impl Clone for VerificationOption
source§fn clone(&self) -> VerificationOption
fn clone(&self) -> VerificationOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VerificationOption
impl Debug for VerificationOption
source§impl Default for VerificationOption
impl Default for VerificationOption
source§fn default() -> VerificationOption
fn default() -> VerificationOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VerificationOption
impl<'de> Deserialize<'de> for VerificationOption
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for VerificationOption
impl Serialize for VerificationOption
impl Part for VerificationOption
Auto Trait Implementations§
impl RefUnwindSafe for VerificationOption
impl Send for VerificationOption
impl Sync for VerificationOption
impl Unpin for VerificationOption
impl UnwindSafe for VerificationOption
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more