pub struct AccessSection {
pub enabled: bool,
pub mode: String,
pub password: String,
pub password_hint: String,
}Fields§
§enabled: bool§mode: String§password: String§password_hint: StringTrait Implementations§
Source§impl Clone for AccessSection
impl Clone for AccessSection
Source§fn clone(&self) -> AccessSection
fn clone(&self) -> AccessSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccessSection
impl Debug for AccessSection
Source§impl Default for AccessSection
impl Default for AccessSection
Source§impl<'de> Deserialize<'de> for AccessSectionwhere
AccessSection: Default,
impl<'de> Deserialize<'de> for AccessSectionwhere
AccessSection: Default,
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
Auto Trait Implementations§
impl Freeze for AccessSection
impl RefUnwindSafe for AccessSection
impl Send for AccessSection
impl Sync for AccessSection
impl Unpin for AccessSection
impl UnsafeUnpin for AccessSection
impl UnwindSafe for AccessSection
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