pub(crate) struct HealthReportArgs {Show 13 fields
pub(crate) start_index: usize,
pub(crate) limit: usize,
pub(crate) category: Option<String>,
pub(crate) severity: Option<HealthSeverityArg>,
pub(crate) path_prefix: Option<String>,
pub(crate) summary_only: bool,
pub(crate) source_only: bool,
pub(crate) coverage: bool,
pub(crate) parser: Option<String>,
pub(crate) provider: Option<String>,
pub(crate) relation: Option<String>,
pub(crate) coverage_state: Option<String>,
pub(crate) reason: Option<String>,
}Expand description
Read-only health report filters shared by health and health-check.
Fields§
§start_index: usizePagination start index after filters are applied.
limit: usizeMaximum findings to return.
category: Option<String>Optional finding category filter.
severity: Option<HealthSeverityArg>Optional severity filter.
path_prefix: Option<String>Optional repository-relative primary or related path prefix.
summary_only: boolReturn counts and paging metadata without finding rows.
source_only: boolRestrict findings to source files and folders that contain source files.
coverage: boolOpt in to bounded current coverage discovery instead of structural findings.
parser: Option<String>Optional source parser coverage filter.
provider: Option<String>Optional derived-fact provider coverage filter.
relation: Option<String>Optional relationship-family coverage filter.
coverage_state: Option<String>Optional complete, no_candidates, partial, failed, ignored, oversized, quarantined, or stale filter.
reason: Option<String>Optional exact coverage reason filter.
Trait Implementations§
Source§impl Args for HealthReportArgs
impl Args for HealthReportArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for HealthReportArgs
impl Debug for HealthReportArgs
Source§impl FromArgMatches for HealthReportArgs
impl FromArgMatches for HealthReportArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for HealthReportArgs
impl RefUnwindSafe for HealthReportArgs
impl Send for HealthReportArgs
impl Sync for HealthReportArgs
impl Unpin for HealthReportArgs
impl UnsafeUnpin for HealthReportArgs
impl UnwindSafe for HealthReportArgs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more