pub struct NamedClientConfig {
pub base_url: Option<String>,
pub timeout: Option<Duration>,
pub retries: Option<u32>,
pub max_response_size: Option<usize>,
pub deny_private_networks: Option<bool>,
pub bearer_env: Option<String>,
pub allow_hosts: Vec<String>,
}Expand description
Per-named-client overrides from sova.toml.
Fields§
§base_url: Option<String>§timeout: Option<Duration>§retries: Option<u32>§max_response_size: Option<usize>§deny_private_networks: Option<bool>§bearer_env: Option<String>§allow_hosts: Vec<String>Trait Implementations§
Source§impl Clone for NamedClientConfig
impl Clone for NamedClientConfig
Source§impl Debug for NamedClientConfig
impl Debug for NamedClientConfig
Auto Trait Implementations§
impl Freeze for NamedClientConfig
impl RefUnwindSafe for NamedClientConfig
impl Send for NamedClientConfig
impl Sync for NamedClientConfig
impl Unpin for NamedClientConfig
impl UnsafeUnpin for NamedClientConfig
impl UnwindSafe for NamedClientConfig
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