Struct connchk::HttpOptions
source · pub struct HttpOptions {
pub params: Option<HashMap<String, String>>,
pub json: Option<Value>,
pub ok: u16,
}
Expand description
Provides a deserialize target for optional parameters in custom HTTP(s) checks.
Fields
params: Option<HashMap<String, String>>
json: Option<Value>
ok: u16
Trait Implementations
sourceimpl Clone for HttpOptions
impl Clone for HttpOptions
sourcefn clone(&self) -> HttpOptions
fn clone(&self) -> HttpOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpOptions
impl Debug for HttpOptions
sourceimpl<'de> Deserialize<'de> for HttpOptions
impl<'de> Deserialize<'de> for HttpOptions
sourcefn 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 RefUnwindSafe for HttpOptions
impl Send for HttpOptions
impl Sync for HttpOptions
impl Unpin for HttpOptions
impl UnwindSafe for HttpOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more