pub struct CronConfig {
pub jobs: Vec<CronJob>,
pub memory_consolidation: Option<String>,
pub memory_expiry: Option<String>,
}Expand description
Cron scheduler configuration.
Fields§
§jobs: Vec<CronJob>Recurring agent tasks.
memory_consolidation: Option<String>Cron expression for automatic memory consolidation. None = disabled.
memory_expiry: Option<String>Cron expression for automatic memory expiry sweeps. None = disabled.
Trait Implementations§
Source§impl Clone for CronConfig
impl Clone for CronConfig
Source§fn clone(&self) -> CronConfig
fn clone(&self) -> CronConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CronConfig
impl Debug for CronConfig
Source§impl Default for CronConfig
impl Default for CronConfig
Source§fn default() -> CronConfig
fn default() -> CronConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CronConfig
impl<'de> Deserialize<'de> for CronConfig
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 CronConfig
impl RefUnwindSafe for CronConfig
impl Send for CronConfig
impl Sync for CronConfig
impl Unpin for CronConfig
impl UnsafeUnpin for CronConfig
impl UnwindSafe for CronConfig
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