pub struct ProxyValidatorConfig {
pub url: String,
pub forward_headers: Vec<String>,
pub timeout_seconds: u64,
}Available on non-WebAssembly only.
Expand description
Proxy validator configuration.
Fields§
§url: StringURL of the validation proxy.
forward_headers: Vec<String>Headers to forward to proxy.
timeout_seconds: u64Request timeout in seconds.
Trait Implementations§
Source§impl Clone for ProxyValidatorConfig
impl Clone for ProxyValidatorConfig
Source§impl Debug for ProxyValidatorConfig
impl Debug for ProxyValidatorConfig
Source§impl<'de> Deserialize<'de> for ProxyValidatorConfig
impl<'de> Deserialize<'de> for ProxyValidatorConfig
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 ProxyValidatorConfig
impl RefUnwindSafe for ProxyValidatorConfig
impl Send for ProxyValidatorConfig
impl Sync for ProxyValidatorConfig
impl Unpin for ProxyValidatorConfig
impl UnsafeUnpin for ProxyValidatorConfig
impl UnwindSafe for ProxyValidatorConfig
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