pub struct TraceRow {Show 19 fields
pub tenant_id: String,
pub trace_id: u64,
pub flow_name: String,
pub status: String,
pub steps_executed: u32,
pub latency_ms: u64,
pub tokens_input: u64,
pub tokens_output: u64,
pub anchor_checks: u32,
pub anchor_breaches: u32,
pub errors: u32,
pub retries: u32,
pub source_file: String,
pub backend: String,
pub client_key: String,
pub replay_of: Option<u64>,
pub correlation_id: Option<String>,
pub events: Value,
pub annotations: Value,
}Expand description
Portable trace record for storage.
Fields§
§tenant_id: String§trace_id: u64§flow_name: String§status: String§steps_executed: u32§latency_ms: u64§tokens_input: u64§tokens_output: u64§anchor_checks: u32§anchor_breaches: u32§errors: u32§retries: u32§source_file: String§backend: String§client_key: String§replay_of: Option<u64>§correlation_id: Option<String>§events: Value§annotations: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for TraceRow
impl<'de> Deserialize<'de> for TraceRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TraceRow
impl RefUnwindSafe for TraceRow
impl Send for TraceRow
impl Sync for TraceRow
impl Unpin for TraceRow
impl UnsafeUnpin for TraceRow
impl UnwindSafe for TraceRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.