pub struct CapturedEvent {
pub level: Level,
pub target: &'static str,
pub fields: Map<String, Value>,
}Available on crate feature
test-utils only.Expand description
One event as TraceCapture saw it.
Fields§
§level: LevelThe event’s level.
target: &'static strThe event’s target.
fields: Map<String, Value>The event’s fields, the message under message.
Implementations§
Trait Implementations§
Source§impl Clone for CapturedEvent
impl Clone for CapturedEvent
Source§fn clone(&self) -> CapturedEvent
fn clone(&self) -> CapturedEvent
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 moreAuto Trait Implementations§
impl Freeze for CapturedEvent
impl RefUnwindSafe for CapturedEvent
impl Send for CapturedEvent
impl Sync for CapturedEvent
impl Unpin for CapturedEvent
impl UnsafeUnpin for CapturedEvent
impl UnwindSafe for CapturedEvent
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