pub struct UserPolicyExpire {
pub pol: UserPolicyInfo,
pub hard: u8,
}
Fields§
§pol: UserPolicyInfo
§hard: u8
Trait Implementations§
source§impl Clone for UserPolicyExpire
impl Clone for UserPolicyExpire
source§fn clone(&self) -> UserPolicyExpire
fn clone(&self) -> UserPolicyExpire
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 UserPolicyExpire
impl Debug for UserPolicyExpire
source§impl Default for UserPolicyExpire
impl Default for UserPolicyExpire
source§fn default() -> UserPolicyExpire
fn default() -> UserPolicyExpire
Returns the “default value” for a type. Read more
source§impl Emitable for UserPolicyExpire
impl Emitable for UserPolicyExpire
source§impl<T: AsRef<[u8]> + ?Sized> Parseable<UserPolicyExpireBuffer<&T>> for UserPolicyExpire
impl<T: AsRef<[u8]> + ?Sized> Parseable<UserPolicyExpireBuffer<&T>> for UserPolicyExpire
source§fn parse(buf: &UserPolicyExpireBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &UserPolicyExpireBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<UserPolicyExpire> for UserPolicyExpire
impl PartialEq<UserPolicyExpire> for UserPolicyExpire
source§fn eq(&self, other: &UserPolicyExpire) -> bool
fn eq(&self, other: &UserPolicyExpire) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserPolicyExpire
impl Eq for UserPolicyExpire
impl StructuralEq for UserPolicyExpire
impl StructuralPartialEq for UserPolicyExpire
Auto Trait Implementations§
impl RefUnwindSafe for UserPolicyExpire
impl Send for UserPolicyExpire
impl Sync for UserPolicyExpire
impl Unpin for UserPolicyExpire
impl UnwindSafe for UserPolicyExpire
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