pub struct ClientConfig {
pub base_url: String,
pub auth: Auth,
pub timeout: Duration,
pub retries: u32,
pub user_agent_suffix: Option<String>,
pub cache_config: CacheConfig,
pub telemetry_config: TelemetryConfig,
pub allow_insecure_http: bool,
}Expand description
Client configuration
Fields§
§base_url: StringBase URL of the secret store service
auth: AuthAuthentication configuration
timeout: DurationRequest timeout
retries: u32Number of retries
user_agent_suffix: Option<String>User agent suffix
cache_config: CacheConfigCache configuration
telemetry_config: TelemetryConfigTelemetry configuration
allow_insecure_http: boolAllow insecure HTTP (only with danger-insecure-http feature)
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientConfig
impl !RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl !UnwindSafe for ClientConfig
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