pub struct HttpProxyProvider {
pub name: String,
pub path: String,
pub interval: u64,
pub health_check: Option<HealthCheck>,
pub override: Option<HashMap<String, Value>>,
pub url: String,
pub proxy: Option<String>,
pub header: Option<HashMap<String, Vec<String>>>,
}Fields§
§name: String§path: String§interval: u64§health_check: Option<HealthCheck>§override: Option<HashMap<String, Value>>override proxy configs
url: String§proxy: Option<String>the proxy used for requesting the url
header: Option<HashMap<String, Vec<String>>>the http used for requesting the url
Trait Implementations§
Source§impl Debug for HttpProxyProvider
impl Debug for HttpProxyProvider
Source§impl<'de> Deserialize<'de> for HttpProxyProvider
impl<'de> Deserialize<'de> for HttpProxyProvider
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
Auto Trait Implementations§
impl Freeze for HttpProxyProvider
impl RefUnwindSafe for HttpProxyProvider
impl Send for HttpProxyProvider
impl Sync for HttpProxyProvider
impl Unpin for HttpProxyProvider
impl UnwindSafe for HttpProxyProvider
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