pub struct PersonTwoFactorEnabled {
pub attribute: String,
pub module: String,
pub value: bool,
pub extra: Map<String, Value>,
}Expand description
One stored person preference, identified by module namespace and attribute key. Read endpoints include stored settings beyond the write allowlist. This is not a person master-data field.
Fields§
§attribute: String§module: String§value: boolWhether the person has enabled TOTP authentication. False if no setting exists.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonTwoFactorEnabled
impl Clone for PersonTwoFactorEnabled
Source§impl Debug for PersonTwoFactorEnabled
impl Debug for PersonTwoFactorEnabled
Source§impl Default for PersonTwoFactorEnabled
impl Default for PersonTwoFactorEnabled
Source§impl<'de> Deserialize<'de> for PersonTwoFactorEnabled
impl<'de> Deserialize<'de> for PersonTwoFactorEnabled
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 PersonTwoFactorEnabled
impl PartialEq for PersonTwoFactorEnabled
Source§impl Serialize for PersonTwoFactorEnabled
impl Serialize for PersonTwoFactorEnabled
impl StructuralPartialEq for PersonTwoFactorEnabled
Auto Trait Implementations§
impl Freeze for PersonTwoFactorEnabled
impl RefUnwindSafe for PersonTwoFactorEnabled
impl Send for PersonTwoFactorEnabled
impl Sync for PersonTwoFactorEnabled
impl Unpin for PersonTwoFactorEnabled
impl UnsafeUnpin for PersonTwoFactorEnabled
impl UnwindSafe for PersonTwoFactorEnabled
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