pub struct Trace {
pub timestamp: i64,
pub layer: Layer,
pub additional_infos: AdditionalInfos,
pub text: Option<Vec<String>>,
pub binary: Option<Vec<u8>>,
pub relation: TraceRelation,
}Expand description
Data structure to store Trace of the application.
Fields§
§timestamp: i64Timestamp of the message.
layer: LayerLayer of the message.
additional_infos: AdditionalInfosAdditional layer-specific information.
text: Option<Vec<String>>Text representation of the message from the API
binary: Option<Vec<u8>>Binary representation extracted from hex dump (if present and complete)
relation: TraceRelationParent/child relationship with other traces
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
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