pub struct EtcShadow {
pub name: String,
pub password: CryptPw,
pub epoch_change_seconds: Option<OffsetDateTime>,
pub days_min_password_age: i64,
pub days_max_password_age: Option<i64>,
pub days_warning_period: i64,
pub days_inactivity_period: Option<i64>,
pub epoch_expire_seconds: Option<OffsetDateTime>,
pub flag_reserved: Option<u32>,
}
Fields§
§name: String
§password: CryptPw
§epoch_change_seconds: Option<OffsetDateTime>
§days_min_password_age: i64
§days_max_password_age: Option<i64>
§days_warning_period: i64
§days_inactivity_period: Option<i64>
§epoch_expire_seconds: Option<OffsetDateTime>
§flag_reserved: Option<u32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EtcShadow
impl<'de> Deserialize<'de> for EtcShadow
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<EtcMasterPasswd> for EtcShadow
impl From<EtcMasterPasswd> for EtcShadow
Source§fn from(etc_master_passwd: EtcMasterPasswd) -> Self
fn from(etc_master_passwd: EtcMasterPasswd) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for EtcShadow
Auto Trait Implementations§
impl Freeze for EtcShadow
impl RefUnwindSafe for EtcShadow
impl Send for EtcShadow
impl Sync for EtcShadow
impl Unpin for EtcShadow
impl UnwindSafe for EtcShadow
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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