pub struct HealthQuery {
pub start_index: usize,
pub limit: usize,
pub category: Option<String>,
pub severity: Option<Severity>,
pub path_prefix: Option<String>,
pub summary_only: bool,
pub scope: HealthScope,
}Expand description
Bounded health query used by agent-facing adapters.
Fields§
§start_index: usizePagination start index after filters are applied.
limit: usizeMaximum findings to return.
category: Option<String>Optional finding category filter.
severity: Option<Severity>Optional severity filter.
path_prefix: Option<String>Optional repository-relative path prefix filter.
summary_only: boolReturn counts without finding rows.
scope: HealthScopeHealth and purpose-curation scope.
Trait Implementations§
Source§impl Clone for HealthQuery
impl Clone for HealthQuery
Source§fn clone(&self) -> HealthQuery
fn clone(&self) -> HealthQuery
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 HealthQuery
impl Debug for HealthQuery
Source§impl PartialEq for HealthQuery
impl PartialEq for HealthQuery
impl Eq for HealthQuery
impl StructuralPartialEq for HealthQuery
Auto Trait Implementations§
impl Freeze for HealthQuery
impl RefUnwindSafe for HealthQuery
impl Send for HealthQuery
impl Sync for HealthQuery
impl Unpin for HealthQuery
impl UnwindSafe for HealthQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more