pub struct MobileOptions {
pub strict_mode: bool,
}Expand description
Options for mobile phone validation
Fields§
§strict_mode: boolIf true, the phone number must start with ‘+’
Trait Implementations§
Source§impl Clone for MobileOptions
impl Clone for MobileOptions
Source§fn clone(&self) -> MobileOptions
fn clone(&self) -> MobileOptions
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 Debug for MobileOptions
impl Debug for MobileOptions
Source§impl Default for MobileOptions
impl Default for MobileOptions
Source§fn default() -> MobileOptions
fn default() -> MobileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MobileOptions
impl RefUnwindSafe for MobileOptions
impl Send for MobileOptions
impl Sync for MobileOptions
impl Unpin for MobileOptions
impl UnwindSafe for MobileOptions
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