pub struct StageArgs {
pub command: Option<StageCommand>,
pub target: Utf8PathBuf,
pub profile: ProfileId,
pub output: Option<Utf8PathBuf>,
pub docs_scratch: Option<String>,
pub reserve: Vec<String>,
pub writing_style: Option<String>,
pub json: bool,
}Expand description
Render this binary’s candidate into a stage an agent reads.
Fields§
§command: Option<StageCommand>What to do. Rendering a stage is the default.
target: Utf8PathBufThe repository to render a candidate for; absolute, or the working directory.
profile: ProfileIdThe profile to project.
output: Option<Utf8PathBuf>Where to write the stage; absolute.
docs_scratch: Option<String>The documentation scratch the candidate would record, or none.
reserve: Vec<String>A path to record under reserved: in the declaration. Repeatable.
writing_style: Option<String>The writing-style selection the candidate would record.
json: boolPrint one JSON object instead of text.
Trait Implementations§
Source§impl Args for StageArgs
impl Args for StageArgs
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 FromArgMatches for StageArgs
impl FromArgMatches for StageArgs
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 StageArgs
impl RefUnwindSafe for StageArgs
impl Send for StageArgs
impl Sync for StageArgs
impl Unpin for StageArgs
impl UnsafeUnpin for StageArgs
impl UnwindSafe for StageArgs
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