pub struct MultiFactorSmsMethod {
pub messenger_id: Option<Uuid>,
pub template_id: Option<Uuid>,
pub enabled: Option<bool>,
}
Fields§
§messenger_id: Option<Uuid>
§template_id: Option<Uuid>
§enabled: Option<bool>
Implementations§
source§impl MultiFactorSmsMethod
impl MultiFactorSmsMethod
pub fn new() -> MultiFactorSmsMethod
Trait Implementations§
source§impl Clone for MultiFactorSmsMethod
impl Clone for MultiFactorSmsMethod
source§fn clone(&self) -> MultiFactorSmsMethod
fn clone(&self) -> MultiFactorSmsMethod
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 MultiFactorSmsMethod
impl Debug for MultiFactorSmsMethod
source§impl Default for MultiFactorSmsMethod
impl Default for MultiFactorSmsMethod
source§fn default() -> MultiFactorSmsMethod
fn default() -> MultiFactorSmsMethod
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MultiFactorSmsMethod
impl<'de> Deserialize<'de> for MultiFactorSmsMethod
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 MultiFactorSmsMethod
impl PartialEq for MultiFactorSmsMethod
source§fn eq(&self, other: &MultiFactorSmsMethod) -> bool
fn eq(&self, other: &MultiFactorSmsMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MultiFactorSmsMethod
impl Serialize for MultiFactorSmsMethod
impl StructuralPartialEq for MultiFactorSmsMethod
Auto Trait Implementations§
impl RefUnwindSafe for MultiFactorSmsMethod
impl Send for MultiFactorSmsMethod
impl Sync for MultiFactorSmsMethod
impl Unpin for MultiFactorSmsMethod
impl UnwindSafe for MultiFactorSmsMethod
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