pub enum JobCommand {
Create(CreateOpts),
}
Variants
Create(CreateOpts)
Trait Implementations
sourceimpl Debug for JobCommand
impl Debug for JobCommand
sourceimpl FromArgMatches for JobCommand
impl FromArgMatches for JobCommand
sourcefn from_arg_matches(arg_matches: &ArgMatches) -> Option<Self>
fn from_arg_matches(arg_matches: &ArgMatches) -> Option<Self>
sourcefn update_from_arg_matches<'b>(&mut self, arg_matches: &ArgMatches)
fn update_from_arg_matches<'b>(&mut self, arg_matches: &ArgMatches)
Assign values from
ArgMatches
to self
.sourceimpl IntoApp for JobCommand
impl IntoApp for JobCommand
sourceimpl Parser for JobCommand
impl Parser for JobCommand
sourcefn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
sourcefn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
sourcefn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
sourcefn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
sourceimpl Subcommand for JobCommand
impl Subcommand for JobCommand
sourcefn augment_subcommands<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
sourcefn augment_subcommands_for_update<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands_for_update<'b>(app: App<'b>) -> App<'b>
sourcefn has_subcommand(name: &str) -> bool
fn has_subcommand(name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for JobCommand
impl Send for JobCommand
impl Sync for JobCommand
impl Unpin for JobCommand
impl UnwindSafe for JobCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self