pub struct PhoneNumberAuthenticationSettings { /* private fields */ }
Expand description
Contains settings for the authentication of the user’s phone number
Implementations§
source§impl PhoneNumberAuthenticationSettings
impl PhoneNumberAuthenticationSettings
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> PhoneNumberAuthenticationSettingsBuilder
pub fn allow_flash_call(&self) -> bool
pub fn allow_missed_call(&self) -> bool
pub fn is_current_phone_number(&self) -> bool
pub fn allow_sms_retriever_api(&self) -> bool
pub fn authentication_tokens(&self) -> &Vec<String>
Trait Implementations§
source§impl AsRef<PhoneNumberAuthenticationSettings> for PhoneNumberAuthenticationSettings
impl AsRef<PhoneNumberAuthenticationSettings> for PhoneNumberAuthenticationSettings
source§fn as_ref(&self) -> &PhoneNumberAuthenticationSettings
fn as_ref(&self) -> &PhoneNumberAuthenticationSettings
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PhoneNumberAuthenticationSettings
impl Clone for PhoneNumberAuthenticationSettings
source§fn clone(&self) -> PhoneNumberAuthenticationSettings
fn clone(&self) -> PhoneNumberAuthenticationSettings
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 Default for PhoneNumberAuthenticationSettings
impl Default for PhoneNumberAuthenticationSettings
source§fn default() -> PhoneNumberAuthenticationSettings
fn default() -> PhoneNumberAuthenticationSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
impl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
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