Struct nfs4::RetentionSet
source · pub struct RetentionSet {
pub enable: bool,
pub duration: Option<u64>,
}
Fields§
§enable: bool
§duration: Option<u64>
Trait Implementations§
source§impl Clone for RetentionSet
impl Clone for RetentionSet
source§fn clone(&self) -> RetentionSet
fn clone(&self) -> RetentionSet
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 RetentionSet
impl Debug for RetentionSet
source§impl<'de> Deserialize<'de> for RetentionSet
impl<'de> Deserialize<'de> for RetentionSet
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<RetentionSet> for RetentionSet
impl PartialEq<RetentionSet> for RetentionSet
source§fn eq(&self, other: &RetentionSet) -> bool
fn eq(&self, other: &RetentionSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RetentionSet
impl Serialize for RetentionSet
source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime RetentionSet
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime RetentionSet
source§impl TryFrom<FileAttribute> for RetentionSet
impl TryFrom<FileAttribute> for RetentionSet
impl Eq for RetentionSet
impl StructuralEq for RetentionSet
impl StructuralPartialEq for RetentionSet
Auto Trait Implementations§
impl RefUnwindSafe for RetentionSet
impl Send for RetentionSet
impl Sync for RetentionSet
impl Unpin for RetentionSet
impl UnwindSafe for RetentionSet
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