pub enum AnvilEventType {
ConfigWarning {
file_path: String,
line_number: u32,
parameter_name: String,
message: String,
},
Statistics {
metric_type: StatisticType,
value: u32,
rate_window: Option<String>,
service_client: String,
timestamp: DateTime<Utc>,
},
}Variants§
Trait Implementations§
Source§impl Clone for AnvilEventType
impl Clone for AnvilEventType
Source§fn clone(&self) -> AnvilEventType
fn clone(&self) -> AnvilEventType
Returns a duplicate of the value. Read more
1.0.0 · 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 AnvilEventType
impl Debug for AnvilEventType
Source§impl<'de> Deserialize<'de> for AnvilEventType
impl<'de> Deserialize<'de> for AnvilEventType
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
Source§impl PartialEq for AnvilEventType
impl PartialEq for AnvilEventType
Source§impl Serialize for AnvilEventType
impl Serialize for AnvilEventType
impl StructuralPartialEq for AnvilEventType
Auto Trait Implementations§
impl Freeze for AnvilEventType
impl RefUnwindSafe for AnvilEventType
impl Send for AnvilEventType
impl Sync for AnvilEventType
impl Unpin for AnvilEventType
impl UnwindSafe for AnvilEventType
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