Struct walker_extras::visitors::SendArguments
source · pub struct SendArguments {
pub target: Url,
pub connect_timeout: Duration,
pub timeout: Duration,
pub additional_root_certificates: Vec<PathBuf>,
pub tls_insecure: bool,
pub retries: usize,
pub retry_delay: Duration,
pub query: Vec<String>,
pub oidc: OpenIdTokenProviderConfigArguments,
}Fields§
§target: UrlTarget to send to
connect_timeout: DurationSender connect timeout
timeout: DurationSender request timeout
additional_root_certificates: Vec<PathBuf>Additional root certificates
tls_insecure: boolAllow using TLS in an insecure mode when contacting the target (DANGER!)
retries: usizeNumber of retries in case of temporary failures
retry_delay: DurationDelay between retries
query: Vec<String>Custom query parameters
oidc: OpenIdTokenProviderConfigArgumentsImplementations§
source§impl SendArguments
impl SendArguments
pub async fn into_visitor(self) -> Result<SendVisitor, Error>
Trait Implementations§
source§impl Args for SendArguments
impl Args for SendArguments
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 CommandFactory for SendArguments
impl CommandFactory for SendArguments
source§impl Debug for SendArguments
impl Debug for SendArguments
source§impl FromArgMatches for SendArguments
impl FromArgMatches for SendArguments
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.source§impl Parser for SendArguments
impl Parser for SendArguments
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for SendArguments
impl RefUnwindSafe for SendArguments
impl Send for SendArguments
impl Sync for SendArguments
impl Unpin for SendArguments
impl UnwindSafe for SendArguments
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