pub struct DecayConfigResponse {
pub strategy: String,
pub half_life_hours: f64,
pub min_importance: f32,
}Expand description
DECAY-1: Current decay configuration
Fields§
§strategy: StringDecay strategy: “exponential”, “linear”, or “step”
half_life_hours: f64Half-life in hours
min_importance: f32Minimum importance threshold; memories below are hard-deleted on next cycle
Trait Implementations§
Source§impl Clone for DecayConfigResponse
impl Clone for DecayConfigResponse
Source§fn clone(&self) -> DecayConfigResponse
fn clone(&self) -> DecayConfigResponse
Returns a duplicate 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 DecayConfigResponse
impl Debug for DecayConfigResponse
Source§impl<'de> Deserialize<'de> for DecayConfigResponse
impl<'de> Deserialize<'de> for DecayConfigResponse
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 DecayConfigResponse
impl RefUnwindSafe for DecayConfigResponse
impl Send for DecayConfigResponse
impl Sync for DecayConfigResponse
impl Unpin for DecayConfigResponse
impl UnsafeUnpin for DecayConfigResponse
impl UnwindSafe for DecayConfigResponse
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