pub struct RuleMatchEntry {
pub rule_id: RuleId,
pub rule_name: String,
pub message_id: String,
pub actions_applied: Vec<String>,
pub timestamp: DateTime<Utc>,
pub success: bool,
pub error: Option<String>,
}Expand description
A log entry for a rule execution.
Fields§
§rule_id: RuleId§rule_name: String§message_id: String§actions_applied: Vec<String>§timestamp: DateTime<Utc>§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for RuleMatchEntry
impl Clone for RuleMatchEntry
Source§fn clone(&self) -> RuleMatchEntry
fn clone(&self) -> RuleMatchEntry
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 RuleMatchEntry
impl Debug for RuleMatchEntry
Source§impl<'de> Deserialize<'de> for RuleMatchEntry
impl<'de> Deserialize<'de> for RuleMatchEntry
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
Auto Trait Implementations§
impl Freeze for RuleMatchEntry
impl RefUnwindSafe for RuleMatchEntry
impl Send for RuleMatchEntry
impl Sync for RuleMatchEntry
impl Unpin for RuleMatchEntry
impl UnsafeUnpin for RuleMatchEntry
impl UnwindSafe for RuleMatchEntry
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