pub struct SpanDisplay {Show 16 fields
pub id: i64,
pub span_id: String,
pub parent_span_id: Option<String>,
pub name: String,
pub category: SpanCategory,
pub duration_ms: f64,
pub offset_ms: f64,
pub offset_percent: f64,
pub width_percent: f64,
pub depth: i32,
pub status_code: i32,
pub http_method: Option<String>,
pub http_status_code: Option<i32>,
pub db_operation: Option<String>,
pub db_system: Option<String>,
pub db_statement: Option<String>,
}Fields§
§id: i64§span_id: String§parent_span_id: Option<String>§name: String§category: SpanCategory§duration_ms: f64§offset_ms: f64§offset_percent: f64§width_percent: f64§depth: i32§status_code: i32§http_method: Option<String>§http_status_code: Option<i32>§db_operation: Option<String>§db_system: Option<String>§db_statement: Option<String>Trait Implementations§
Source§impl Clone for SpanDisplay
impl Clone for SpanDisplay
Source§fn clone(&self) -> SpanDisplay
fn clone(&self) -> SpanDisplay
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 SpanDisplay
impl Debug for SpanDisplay
Auto Trait Implementations§
impl Freeze for SpanDisplay
impl RefUnwindSafe for SpanDisplay
impl Send for SpanDisplay
impl Sync for SpanDisplay
impl Unpin for SpanDisplay
impl UnsafeUnpin for SpanDisplay
impl UnwindSafe for SpanDisplay
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