pub struct Filters {
pub min_keywords: Option<usize>,
pub min_stars: Option<u64>,
pub active_since: Option<String>,
pub adopters_only: bool,
pub stack_only: bool,
pub min_relatedness_pct: Option<f64>,
pub min_effort_pct: Option<f64>,
}Expand description
Conjunctive (AND) filters on the metric axes. All set predicates must pass. Absolute thresholds where the agent has intuition (keywords, stars, dates) + percentile thresholds on the normalized axes.
Fields§
§min_keywords: Option<usize>§min_stars: Option<u64>§active_since: Option<String>§adopters_only: bool§stack_only: bool§min_effort_pct: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Filters
impl<'de> Deserialize<'de> for Filters
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 Filters
impl RefUnwindSafe for Filters
impl Send for Filters
impl Sync for Filters
impl Unpin for Filters
impl UnsafeUnpin for Filters
impl UnwindSafe for Filters
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