pub enum Verb {
Connect {
url: Url,
params: Vec<Param>,
},
Delete {
url: Url,
params: Vec<Param>,
},
Get {
url: Url,
params: Vec<Param>,
},
Head {
url: Url,
params: Vec<Param>,
},
Option {
url: Url,
params: Vec<Param>,
},
Patch {
url: Url,
params: Vec<Param>,
},
Post {
url: Url,
params: Vec<Param>,
},
Put {
url: Url,
params: Vec<Param>,
},
Trace {
url: Url,
params: Vec<Param>,
},
}Variants§
Connect
performs a CONNECT request
Fields
Delete
performs a DELETE request
Fields
Get
performs a GET request
Fields
Head
performs a HEAD request
Fields
Option
performs a OPTION request
Fields
Patch
performs a PATCH request
Fields
Post
performs a POST request
Fields
Put
performs a PUT request
Fields
Trace
performs a TRACE request
Implementations§
Trait Implementations§
source§impl FromArgMatches for Verb
impl FromArgMatches for Verb
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§impl Subcommand for Verb
impl Subcommand for Verb
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Verb
impl RefUnwindSafe for Verb
impl Send for Verb
impl Sync for Verb
impl Unpin for Verb
impl UnwindSafe for Verb
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