Struct reinfer_client::Config [−][src]
pub struct Config { pub endpoint: Url, pub token: Token, pub accept_invalid_certificates: bool, pub proxy: Option<Url>, pub retry_config: Option<RetryConfig>, }
Fields
endpoint: Url
token: Token
accept_invalid_certificates: bool
proxy: Option<Url>
retry_config: Option<RetryConfig>
Retry settings to use, if any. This will apply to all requests except for POST requests which are not idempotent (as they cannot be naively retried).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]