pub struct TelemetrySpan {
pub attributes: HashMap<String, String>,
pub start_time: Option<Instant>,
pub end_time: Option<Instant>,
}Expand description
Structured attributes for a single API call or tool execution.
Fields§
§attributes: HashMap<String, String>§start_time: Option<Instant>§end_time: Option<Instant>Implementations§
Trait Implementations§
Source§impl Clone for TelemetrySpan
impl Clone for TelemetrySpan
Source§fn clone(&self) -> TelemetrySpan
fn clone(&self) -> TelemetrySpan
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 TelemetrySpan
impl Debug for TelemetrySpan
Source§impl Default for TelemetrySpan
impl Default for TelemetrySpan
Source§fn default() -> TelemetrySpan
fn default() -> TelemetrySpan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelemetrySpan
impl RefUnwindSafe for TelemetrySpan
impl Send for TelemetrySpan
impl Sync for TelemetrySpan
impl Unpin for TelemetrySpan
impl UnsafeUnpin for TelemetrySpan
impl UnwindSafe for TelemetrySpan
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