pub struct ServiceStatusConfig {
pub enabled: bool,
pub refresh_interval_secs: u64,
pub timeout_ms: u64,
pub high_latency_ms: u64,
pub history_cells: usize,
pub probes: Vec<ServiceStatusProbeConfig>,
}Fields§
§enabled: bool§refresh_interval_secs: u64§timeout_ms: u64§high_latency_ms: u64§history_cells: usize§probes: Vec<ServiceStatusProbeConfig>Implementations§
Trait Implementations§
Source§impl Clone for ServiceStatusConfig
impl Clone for ServiceStatusConfig
Source§fn clone(&self) -> ServiceStatusConfig
fn clone(&self) -> ServiceStatusConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceStatusConfig
impl Debug for ServiceStatusConfig
Source§impl Default for ServiceStatusConfig
impl Default for ServiceStatusConfig
Source§impl<'de> Deserialize<'de> for ServiceStatusConfigwhere
ServiceStatusConfig: Default,
impl<'de> Deserialize<'de> for ServiceStatusConfigwhere
ServiceStatusConfig: Default,
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 ServiceStatusConfig
Source§impl PartialEq for ServiceStatusConfig
impl PartialEq for ServiceStatusConfig
Source§impl Serialize for ServiceStatusConfig
impl Serialize for ServiceStatusConfig
impl StructuralPartialEq for ServiceStatusConfig
Auto Trait Implementations§
impl Freeze for ServiceStatusConfig
impl RefUnwindSafe for ServiceStatusConfig
impl Send for ServiceStatusConfig
impl Sync for ServiceStatusConfig
impl Unpin for ServiceStatusConfig
impl UnsafeUnpin for ServiceStatusConfig
impl UnwindSafe for ServiceStatusConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.