pub struct QualityReportArgs {
pub repo: RepoArgs,
pub format: OutputFormat,
pub code: Option<String>,
pub path: Option<String>,
pub summary: bool,
pub include_baselined: bool,
pub write_baseline: bool,
}Expand description
majordomus quality report.
Fields§
§repo: RepoArgsWhere and how the repository is read.
format: OutputFormatOutput shape
code: Option<String>Only findings carrying this code, e.g. RUST_PUBLIC_MISSING_EXAMPLE
path: Option<String>Only findings under this repository-relative path prefix
summary: boolPrint the counts and leave the findings out
include_baselined: boolShow the findings the baseline already accepts, which are left out by default
write_baseline: boolRecord today’s findings as the accepted baseline, so the debt can shrink and cannot grow
Trait Implementations§
Source§impl Args for QualityReportArgs
impl Args for QualityReportArgs
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 QualityReportArgs
impl Debug for QualityReportArgs
Source§impl FromArgMatches for QualityReportArgs
impl FromArgMatches for QualityReportArgs
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 QualityReportArgs
impl RefUnwindSafe for QualityReportArgs
impl Send for QualityReportArgs
impl Sync for QualityReportArgs
impl Unpin for QualityReportArgs
impl UnsafeUnpin for QualityReportArgs
impl UnwindSafe for QualityReportArgs
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