pub enum AlertContent {
Text(LogString),
Field(LogString),
MatchedRules(LogString),
}Variants§
Text(LogString)
A basic text
Field(LogString)
Content of a Log field
MatchedRules(LogString)
List of matched rules joined by a string. Ex (“\n”, “,”…)
Trait Implementations§
Source§impl Clone for AlertContent
impl Clone for AlertContent
Source§fn clone(&self) -> AlertContent
fn clone(&self) -> AlertContent
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 AlertContent
impl Debug for AlertContent
Source§impl<'de> Deserialize<'de> for AlertContent
impl<'de> Deserialize<'de> for AlertContent
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 AlertContent
impl PartialEq for AlertContent
Source§impl Serialize for AlertContent
impl Serialize for AlertContent
impl StructuralPartialEq for AlertContent
Auto Trait Implementations§
impl Freeze for AlertContent
impl RefUnwindSafe for AlertContent
impl Send for AlertContent
impl Sync for AlertContent
impl Unpin for AlertContent
impl UnwindSafe for AlertContent
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