pub struct FileRetention { /* private fields */ }
Expand description
The retention settings for a file.
Implementations§
Source§impl FileRetention
impl FileRetention
Sourcepub fn settings(&self) -> Option<FileRetentionSetting>
pub fn settings(&self) -> Option<FileRetentionSetting>
Get the file retention settings.
If not authorized to read the settings, returns None
.
Trait Implementations§
Source§impl Debug for FileRetention
impl Debug for FileRetention
Source§impl<'de> Deserialize<'de> for FileRetention
impl<'de> Deserialize<'de> for FileRetention
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
Auto Trait Implementations§
impl Freeze for FileRetention
impl RefUnwindSafe for FileRetention
impl Send for FileRetention
impl Sync for FileRetention
impl Unpin for FileRetention
impl UnwindSafe for FileRetention
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