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