pub struct CreateArgsBase {
pub local: bool,
pub force: bool,
pub non_interactive: bool,
pub no_validate: bool,
pub no_browser: bool,
pub json: bool,
}Expand description
Flags every zad service create <name> accepts.
Fields§
§local: boolWrite credentials to this project’s private service directory instead of the shared global location.
force: boolOverwrite any existing configuration at the chosen scope.
non_interactive: boolFail instead of prompting for any missing value.
no_validate: boolSkip the provider-side token validation step.
no_browser: boolDon’t open URLs in the system browser.
json: boolEmit machine-readable JSON instead of human-readable text.
Trait Implementations§
Source§impl Args for CreateArgsBase
impl Args for CreateArgsBase
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 CreateArgsBase
impl Debug for CreateArgsBase
Source§impl FromArgMatches for CreateArgsBase
impl FromArgMatches for CreateArgsBase
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 CreateArgsBase
impl RefUnwindSafe for CreateArgsBase
impl Send for CreateArgsBase
impl Sync for CreateArgsBase
impl Unpin for CreateArgsBase
impl UnsafeUnpin for CreateArgsBase
impl UnwindSafe for CreateArgsBase
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