pub struct HttpClientSection {
pub base_url: Option<String>,
pub timeout_seconds: Option<u64>,
pub auth: Option<AuthConfigSection>,
pub headers: Vec<HeaderEntry>,
pub retry: Option<RetryConfigSection>,
pub tracing: Option<TracingConfigSection>,
}Fields§
§base_url: Option<String>§timeout_seconds: Option<u64>§auth: Option<AuthConfigSection>§headers: Vec<HeaderEntry>§retry: Option<RetryConfigSection>§tracing: Option<TracingConfigSection>Trait Implementations§
Source§impl Clone for HttpClientSection
impl Clone for HttpClientSection
Source§fn clone(&self) -> HttpClientSection
fn clone(&self) -> HttpClientSection
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 moreSource§impl Debug for HttpClientSection
impl Debug for HttpClientSection
Source§impl<'de> Deserialize<'de> for HttpClientSection
impl<'de> Deserialize<'de> for HttpClientSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HttpClientSection
impl Serialize for HttpClientSection
Source§impl Validate for HttpClientSection
impl Validate for HttpClientSection
Source§impl<'v_a> ValidateArgs<'v_a> for HttpClientSection
impl<'v_a> ValidateArgs<'v_a> for HttpClientSection
Auto Trait Implementations§
impl Freeze for HttpClientSection
impl RefUnwindSafe for HttpClientSection
impl Send for HttpClientSection
impl Sync for HttpClientSection
impl Unpin for HttpClientSection
impl UnwindSafe for HttpClientSection
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