pub struct InternalLinkTypePhoneNumberConfirmation {
pub hash: String,
pub phone_number: String,
}
Expand description
The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link
Fields§
§hash: String
Hash value from the link
phone_number: String
Phone number value from the link
Trait Implementations§
Source§impl Clone for InternalLinkTypePhoneNumberConfirmation
impl Clone for InternalLinkTypePhoneNumberConfirmation
Source§fn clone(&self) -> InternalLinkTypePhoneNumberConfirmation
fn clone(&self) -> InternalLinkTypePhoneNumberConfirmation
Returns a duplicate 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 Default for InternalLinkTypePhoneNumberConfirmation
impl Default for InternalLinkTypePhoneNumberConfirmation
Source§fn default() -> InternalLinkTypePhoneNumberConfirmation
fn default() -> InternalLinkTypePhoneNumberConfirmation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypePhoneNumberConfirmation
impl<'de> Deserialize<'de> for InternalLinkTypePhoneNumberConfirmation
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 PartialEq for InternalLinkTypePhoneNumberConfirmation
impl PartialEq for InternalLinkTypePhoneNumberConfirmation
Source§fn eq(&self, other: &InternalLinkTypePhoneNumberConfirmation) -> bool
fn eq(&self, other: &InternalLinkTypePhoneNumberConfirmation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InternalLinkTypePhoneNumberConfirmation
Auto Trait Implementations§
impl Freeze for InternalLinkTypePhoneNumberConfirmation
impl RefUnwindSafe for InternalLinkTypePhoneNumberConfirmation
impl Send for InternalLinkTypePhoneNumberConfirmation
impl Sync for InternalLinkTypePhoneNumberConfirmation
impl Unpin for InternalLinkTypePhoneNumberConfirmation
impl UnwindSafe for InternalLinkTypePhoneNumberConfirmation
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