Struct reinfer_client::Config
source · 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 Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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