pub struct EventRecord {Show 15 fields
pub id: Uuid,
pub invocation_id: Uuid,
pub client_id: String,
pub hostname: Option<String>,
pub event_type: Option<String>,
pub severity: Option<String>,
pub ref_file: Option<String>,
pub ref_line: Option<i32>,
pub ref_column: Option<i32>,
pub message: Option<String>,
pub error_code: Option<String>,
pub test_name: Option<String>,
pub status: Option<String>,
pub format_used: String,
pub date: NaiveDate,
}Expand description
An event record (a parsed log entry from an invocation output).
Fields§
§id: UuidUnique identifier (UUIDv7 for time-ordering).
invocation_id: UuidInvocation this event was parsed from.
client_id: StringClient identifier (for cross-client queries).
hostname: Option<String>Hostname where the invocation ran.
event_type: Option<String>Event type from duck_hunt (e.g., “diagnostic”, “test_result”).
severity: Option<String>Severity level: error, warning, info, note.
ref_file: Option<String>Source file referenced by this event.
ref_line: Option<i32>Line number in the source file.
ref_column: Option<i32>Column number in the source file.
message: Option<String>The event message.
error_code: Option<String>Error/warning code (e.g., “E0308”, “W0401”).
test_name: Option<String>Test name (for test results).
status: Option<String>Test status: passed, failed, skipped.
format_used: StringFormat used for parsing.
date: NaiveDateDate for partitioning.
Implementations§
Trait Implementations§
Source§impl Clone for EventRecord
impl Clone for EventRecord
Source§fn clone(&self) -> EventRecord
fn clone(&self) -> EventRecord
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 EventRecord
impl Debug for EventRecord
Source§impl<'de> Deserialize<'de> for EventRecord
impl<'de> Deserialize<'de> for EventRecord
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 EventRecord
impl RefUnwindSafe for EventRecord
impl Send for EventRecord
impl Sync for EventRecord
impl Unpin for EventRecord
impl UnwindSafe for EventRecord
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