pub struct HttpProbe {
pub port: NonZeroU16,
pub path: String,
pub interval_ms: u64,
pub timeout_ms: u64,
pub success_threshold: u16,
pub failure_threshold: u16,
}Fields§
§port: NonZeroU16§path: String§interval_ms: u64§timeout_ms: u64§success_threshold: u16§failure_threshold: u16Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HttpProbe
impl<'de> Deserialize<'de> for HttpProbe
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
impl Eq for HttpProbe
impl StructuralPartialEq for HttpProbe
Auto Trait Implementations§
impl Forget for HttpProbe
impl Freeze for HttpProbe
impl Move for HttpProbe
impl RefUnwindSafe for HttpProbe
impl Send for HttpProbe
impl Sync for HttpProbe
impl Unpin for HttpProbe
impl UnsafeUnpin for HttpProbe
impl UnwindSafe for HttpProbe
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