pub struct SpanSnapshot {
pub id: u64,
pub metadata_id: u32,
pub name: &'static str,
pub target: &'static str,
pub level: Level,
pub fields: OwnedFields,
}Expand description
Snapshot of one span included in an encoded record.
Fields§
§id: u64§metadata_id: u32§name: &'static str§target: &'static str§level: Level§fields: OwnedFieldsTrait Implementations§
Source§impl Clone for SpanSnapshot
impl Clone for SpanSnapshot
Source§fn clone(&self) -> SpanSnapshot
fn clone(&self) -> SpanSnapshot
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 SpanSnapshot
impl Debug for SpanSnapshot
Source§impl PartialEq for SpanSnapshot
impl PartialEq for SpanSnapshot
impl StructuralPartialEq for SpanSnapshot
Auto Trait Implementations§
impl Freeze for SpanSnapshot
impl RefUnwindSafe for SpanSnapshot
impl Send for SpanSnapshot
impl Sync for SpanSnapshot
impl Unpin for SpanSnapshot
impl UnsafeUnpin for SpanSnapshot
impl UnwindSafe for SpanSnapshot
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