#[non_exhaustive]pub enum HealthDomain {
Overall,
Category(EventCategory),
Workflow(String),
Source(String),
Entity(String),
Plugin(String),
Sink(String),
}Expand description
Domain for which health is being summarized.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Overall
Health across all events.
Category(EventCategory)
Health for a specific event category.
Workflow(String)
Health for a specific workflow.
Source(String)
Health for a named source.
Entity(String)
Health for a named entity.
Plugin(String)
Health for a named plugin.
Sink(String)
Health for a named event sink.
Trait Implementations§
Source§impl Clone for HealthDomain
impl Clone for HealthDomain
Source§fn clone(&self) -> HealthDomain
fn clone(&self) -> HealthDomain
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 HealthDomain
impl Debug for HealthDomain
Source§impl<'de> Deserialize<'de> for HealthDomain
impl<'de> Deserialize<'de> for HealthDomain
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 HealthDomain
Source§impl Hash for HealthDomain
impl Hash for HealthDomain
Source§impl PartialEq for HealthDomain
impl PartialEq for HealthDomain
Source§impl Serialize for HealthDomain
impl Serialize for HealthDomain
impl StructuralPartialEq for HealthDomain
Auto Trait Implementations§
impl Freeze for HealthDomain
impl RefUnwindSafe for HealthDomain
impl Send for HealthDomain
impl Sync for HealthDomain
impl Unpin for HealthDomain
impl UnsafeUnpin for HealthDomain
impl UnwindSafe for HealthDomain
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