pub struct PhoneNumberAuthenticationSettings { /* private fields */ }Expand description
Contains settings for the authentication of the user’s phone number
Implementations
sourceimpl 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
sourceimpl AsRef<PhoneNumberAuthenticationSettings> for PhoneNumberAuthenticationSettings
impl AsRef<PhoneNumberAuthenticationSettings> for PhoneNumberAuthenticationSettings
sourcefn as_ref(&self) -> &PhoneNumberAuthenticationSettings
fn as_ref(&self) -> &PhoneNumberAuthenticationSettings
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for PhoneNumberAuthenticationSettings
impl Clone for PhoneNumberAuthenticationSettings
sourcefn clone(&self) -> PhoneNumberAuthenticationSettings
fn clone(&self) -> PhoneNumberAuthenticationSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for PhoneNumberAuthenticationSettings
impl Default for PhoneNumberAuthenticationSettings
sourcefn default() -> PhoneNumberAuthenticationSettings
fn default() -> PhoneNumberAuthenticationSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
impl<'de> Deserialize<'de> for PhoneNumberAuthenticationSettings
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberAuthenticationSettings
impl Send for PhoneNumberAuthenticationSettings
impl Sync for PhoneNumberAuthenticationSettings
impl Unpin for PhoneNumberAuthenticationSettings
impl UnwindSafe for PhoneNumberAuthenticationSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more