pub struct PruningDecision {
pub segment_id: String,
pub kept: bool,
pub segment_kb: usize,
pub segment_type: SegmentType,
pub impact_probe_ev: Option<f64>,
pub pruning_algorithm: String,
pub confidence_score: f64,
}Expand description
Context pruning decisions for optimization
Fields§
§segment_id: String§kept: bool§segment_kb: usize§segment_type: SegmentType§impact_probe_ev: Option<f64>§pruning_algorithm: String§confidence_score: f64Trait Implementations§
Source§impl Clone for PruningDecision
impl Clone for PruningDecision
Source§fn clone(&self) -> PruningDecision
fn clone(&self) -> PruningDecision
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 PruningDecision
impl Debug for PruningDecision
Source§impl<'de> Deserialize<'de> for PruningDecision
impl<'de> Deserialize<'de> for PruningDecision
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 PruningDecision
impl RefUnwindSafe for PruningDecision
impl Send for PruningDecision
impl Sync for PruningDecision
impl Unpin for PruningDecision
impl UnsafeUnpin for PruningDecision
impl UnwindSafe for PruningDecision
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