pub struct TestLogEntry {
pub timestamp: String,
pub test_name: String,
pub phase: TestPhase,
pub message: String,
pub data: Option<Value>,
pub duration_ms: Option<u64>,
}Expand description
A structured log entry for test execution.
Fields§
§timestamp: StringISO-8601 timestamp.
test_name: StringName of the test.
phase: TestPhaseCurrent phase of test execution.
message: StringLog message.
data: Option<Value>Optional structured data.
duration_ms: Option<u64>Duration since test start in milliseconds.
Implementations§
Source§impl TestLogEntry
impl TestLogEntry
Trait Implementations§
Source§impl Clone for TestLogEntry
impl Clone for TestLogEntry
Source§fn clone(&self) -> TestLogEntry
fn clone(&self) -> TestLogEntry
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 TestLogEntry
impl Debug for TestLogEntry
Source§impl<'de> Deserialize<'de> for TestLogEntry
impl<'de> Deserialize<'de> for TestLogEntry
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 TestLogEntry
impl RefUnwindSafe for TestLogEntry
impl Send for TestLogEntry
impl Sync for TestLogEntry
impl Unpin for TestLogEntry
impl UnsafeUnpin for TestLogEntry
impl UnwindSafe for TestLogEntry
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