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