pub struct EtcMasterPasswd {
pub name: String,
pub password: CryptPw,
pub uid: u32,
pub gid: u32,
pub class: String,
pub epoch_change_seconds: Option<OffsetDateTime>,
pub epoch_expire_seconds: Option<OffsetDateTime>,
pub gecos: String,
pub homedir: String,
pub shell: String,
}
Fields§
§name: String
§password: CryptPw
§uid: u32
§gid: u32
§class: String
§epoch_change_seconds: Option<OffsetDateTime>
§epoch_expire_seconds: Option<OffsetDateTime>
§gecos: String
§homedir: String
§shell: String
Trait Implementations§
Source§impl Clone for EtcMasterPasswd
impl Clone for EtcMasterPasswd
Source§fn clone(&self) -> EtcMasterPasswd
fn clone(&self) -> EtcMasterPasswd
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 EtcMasterPasswd
impl Debug for EtcMasterPasswd
Source§impl Default for EtcMasterPasswd
impl Default for EtcMasterPasswd
Source§fn default() -> EtcMasterPasswd
fn default() -> EtcMasterPasswd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EtcMasterPasswd
impl<'de> Deserialize<'de> for EtcMasterPasswd
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.
Source§impl PartialEq for EtcMasterPasswd
impl PartialEq for EtcMasterPasswd
Source§impl Serialize for EtcMasterPasswd
impl Serialize for EtcMasterPasswd
impl StructuralPartialEq for EtcMasterPasswd
Auto Trait Implementations§
impl Freeze for EtcMasterPasswd
impl RefUnwindSafe for EtcMasterPasswd
impl Send for EtcMasterPasswd
impl Sync for EtcMasterPasswd
impl Unpin for EtcMasterPasswd
impl UnwindSafe for EtcMasterPasswd
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