Struct pace_core::AutoArchivalConfig
source · pub struct AutoArchivalConfig { /* private fields */ }Expand description
The auto-archival configuration for the pace application
Implementations§
source§impl AutoArchivalConfig
impl AutoArchivalConfig
sourcepub fn archive_after_days(&self) -> &u32
pub fn archive_after_days(&self) -> &u32
The default auto-archival time after which items should be archived (in days)
sourcepub fn archive_path(&self) -> &String
pub fn archive_path(&self) -> &String
The path to the archive file
Trait Implementations§
source§impl Clone for AutoArchivalConfig
impl Clone for AutoArchivalConfig
source§fn clone(&self) -> AutoArchivalConfig
fn clone(&self) -> AutoArchivalConfig
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 AutoArchivalConfig
impl Debug for AutoArchivalConfig
source§impl Default for AutoArchivalConfig
impl Default for AutoArchivalConfig
source§fn default() -> AutoArchivalConfig
fn default() -> AutoArchivalConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AutoArchivalConfig
impl<'de> Deserialize<'de> for AutoArchivalConfig
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 RefUnwindSafe for AutoArchivalConfig
impl Send for AutoArchivalConfig
impl Sync for AutoArchivalConfig
impl Unpin for AutoArchivalConfig
impl UnwindSafe for AutoArchivalConfig
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