pub struct ComposedSpan {Show 13 fields
pub kind: SourceKind,
pub id: FullSpanId,
pub ancestors: Vec<Ancestor>,
pub created_at: Timestamp,
pub closed_at: Option<Timestamp>,
pub busy: Option<u64>,
pub name: String,
pub namespace: Option<String>,
pub function: Option<String>,
pub level: SimpleLevel,
pub file: Option<String>,
pub links: Vec<(FullSpanId, BTreeMap<String, Value>)>,
pub attributes: Vec<Attribute>,
}
Fields§
§kind: SourceKind
§id: FullSpanId
§ancestors: Vec<Ancestor>
§created_at: Timestamp
§closed_at: Option<Timestamp>
§busy: Option<u64>
§name: String
§namespace: Option<String>
§function: Option<String>
§level: SimpleLevel
§file: Option<String>
§links: Vec<(FullSpanId, BTreeMap<String, Value>)>
§attributes: Vec<Attribute>
Trait Implementations§
Source§impl Clone for ComposedSpan
impl Clone for ComposedSpan
Source§fn clone(&self) -> ComposedSpan
fn clone(&self) -> ComposedSpan
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 moreAuto Trait Implementations§
impl Freeze for ComposedSpan
impl RefUnwindSafe for ComposedSpan
impl Send for ComposedSpan
impl Sync for ComposedSpan
impl Unpin for ComposedSpan
impl UnwindSafe for ComposedSpan
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