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: Urltoken: Tokenaccept_invalid_certificates: boolproxy: 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

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.