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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§impl Serialize for MultiFactorEmailMethod
impl Serialize for MultiFactorEmailMethod
impl StructuralPartialEq for MultiFactorEmailMethod
Auto Trait Implementations§
impl Freeze for MultiFactorEmailMethod
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