pub struct Retention {
pub runs: RunRetention,
}Expand description
What to keep once a run is over.
A long-lived instance accumulates one durable record per run forever. On a laptop that is the difference between an agent that runs for a month and one that fills a disk — and the store had no eviction at all, so “forever” was literal.
Fields§
§runs: RunRetentionTrait Implementations§
Source§impl<'de> Deserialize<'de> for Retention
impl<'de> Deserialize<'de> for Retention
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
impl StructuralPartialEq for Retention
Auto Trait Implementations§
impl Freeze for Retention
impl RefUnwindSafe for Retention
impl Send for Retention
impl Sync for Retention
impl Unpin for Retention
impl UnsafeUnpin for Retention
impl UnwindSafe for Retention
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