pub struct RunZshArgs {
pub no_mount: bool,
pub workdir: Option<String>,
pub name: Option<String>,
pub user: Option<String>,
pub root: bool,
pub image: String,
}Fields§
§no_mount: boolDo not mount the current working directory to /work
workdir: Option<String>Container workdir
name: Option<String>Container name
user: Option<String>User inside the container
root: boolRun as root
image: StringImage to run
Trait Implementations§
Source§impl Args for RunZshArgs
impl Args for RunZshArgs
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 RunZshArgs
impl Debug for RunZshArgs
Source§impl FromArgMatches for RunZshArgs
impl FromArgMatches for RunZshArgs
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 RunZshArgs
impl RefUnwindSafe for RunZshArgs
impl Send for RunZshArgs
impl Sync for RunZshArgs
impl Unpin for RunZshArgs
impl UnsafeUnpin for RunZshArgs
impl UnwindSafe for RunZshArgs
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