pub struct BenchArgs {
pub repo: RepoArgs,
pub command: Option<BenchCommand>,
pub id: Option<String>,
pub transport: TransportArg,
pub profile: ProfileArg,
pub format: OutputFormat,
pub check: bool,
pub no_write: bool,
}Expand description
majordomus bench.
Fields§
§repo: RepoArgsWhere and how the repository is read.
command: Option<BenchCommand>coverage or baseline; none runs the benchmarks.
id: Option<String>Only targets of this capability id, or whose key starts with this text
transport: TransportArgOnly this transport
profile: ProfileArgHow much to measure
format: OutputFormatOutput shape
check: boolCompare with the accepted baseline of this platform under .ai/repo/benchmarks/rust/policy.yaml; exit 10 on a regression
no_write: boolDo not write the result under .ai/local/benchmarks/
Trait Implementations§
Source§impl Args for BenchArgs
impl Args for BenchArgs
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 FromArgMatches for BenchArgs
impl FromArgMatches for BenchArgs
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 BenchArgs
impl RefUnwindSafe for BenchArgs
impl Send for BenchArgs
impl Sync for BenchArgs
impl Unpin for BenchArgs
impl UnsafeUnpin for BenchArgs
impl UnwindSafe for BenchArgs
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