pub struct ProfileArgs {
pub target: Utf8PathBuf,
pub profile: ProfileFlags,
pub nix_packaging: bool,
pub reporting_policy: bool,
pub scorecard: bool,
pub code_scanning: Option<String>,
pub json: bool,
}Expand description
Report what a target resolves to, and write nothing.
Every profile, Git workflow, and capability value with its source, the unknown categories, the capabilities the catalog selects, and the complete destinations the projection lands.
Fields§
§target: Utf8PathBufThe repository to resolve for.
profile: ProfileFlagsThe project profile and the Git workflow, as rk init takes them.
nix_packaging: boolResolve with the Nix capability requested.
reporting_policy: boolResolve with the reporting policy requested.
scorecard: boolResolve with the Scorecard capability requested.
code_scanning: Option<String>Resolve with code scanning requested under this provider.
json: boolEmit one JSON object on stdout instead of the human report.
Trait Implementations§
Source§impl Args for ProfileArgs
impl Args for ProfileArgs
Source§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 ProfileArgs
impl Debug for ProfileArgs
Source§impl FromArgMatches for ProfileArgs
impl FromArgMatches for ProfileArgs
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 ProfileArgs
impl RefUnwindSafe for ProfileArgs
impl Send for ProfileArgs
impl Sync for ProfileArgs
impl Unpin for ProfileArgs
impl UnsafeUnpin for ProfileArgs
impl UnwindSafe for ProfileArgs
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