pub struct Args {
pub color: ColorChoice,
pub name_id: Option<String>,
pub overwrite: Vec<String>,
pub exact: bool,
pub all: bool,
pub third_party: bool,
pub shell: Option<Shell>,
pub out_format: OutputFormat,
pub force: bool,
pub stateless: bool,
pub api_key: Option<String>,
pub fetch: bool,
}Fields§
§color: ColorChoicewhen the answer is “yes…but only if the stream is a TTY.” In these cases an enum of Never, Auto, Always would be more appropriate
Should be display ANSI color codes in output?
name_id: Option<String>The name or local ID of an item
overwrite: Vec<String>What to overwrite
exact: boolDo items need to be exact to match
all: boolMatch all items
third_party: boolDisplay third party licenses
shell: Option<Shell>The shell to generate completions for
out_format: OutputFormatHow to display output
force: boolTry to force the operation to happen
stateless: boolDo not use local state files
api_key: Option<String>The API Key associated with an account provided by the CLI, env, or Config used to request access tokens
fetch: boolShould we fetch remote refs?
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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