pub struct ShowSecurityWords(pub bool);Expand description
Whether to show the security words on the login screen.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Clone for ShowSecurityWords
impl Clone for ShowSecurityWords
Source§fn clone(&self) -> ShowSecurityWords
fn clone(&self) -> ShowSecurityWords
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 ShowSecurityWords
impl Debug for ShowSecurityWords
Source§impl<'de> Deserialize<'de> for ShowSecurityWords
impl<'de> Deserialize<'de> for ShowSecurityWords
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 From<ShowSecurityWords> for bool
impl From<ShowSecurityWords> for bool
Source§fn from(value: ShowSecurityWords) -> Self
fn from(value: ShowSecurityWords) -> Self
Converts to this type from the input type.
Source§impl From<bool> for ShowSecurityWords
impl From<bool> for ShowSecurityWords
Source§impl FromScalar<1> for ShowSecurityWords
impl FromScalar<1> for ShowSecurityWords
fn from_scalar(value: [u32; 1]) -> Self
Source§impl Hash for ShowSecurityWords
impl Hash for ShowSecurityWords
Source§impl PartialEq for ShowSecurityWords
impl PartialEq for ShowSecurityWords
Source§impl Serialize for ShowSecurityWords
impl Serialize for ShowSecurityWords
impl Copy for ShowSecurityWords
impl Eq for ShowSecurityWords
impl StructuralPartialEq for ShowSecurityWords
Auto Trait Implementations§
impl Freeze for ShowSecurityWords
impl RefUnwindSafe for ShowSecurityWords
impl Send for ShowSecurityWords
impl Sync for ShowSecurityWords
impl Unpin for ShowSecurityWords
impl UnwindSafe for ShowSecurityWords
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
fn from_scalar(value: [u32; 2]) -> T
Source§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
Source§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.