pub struct ClickHouseSpan {Show 15 fields
pub trace_id: String,
pub span_id: String,
pub parent_span_id: String,
pub run_id: String,
pub span_kind: String,
pub name: String,
pub start_time: i64,
pub end_time: i64,
pub status: String,
pub latency_ms: i64,
pub input_tokens: i64,
pub output_tokens: i64,
pub total_tokens: i64,
pub model_provider: String,
pub model_name: String,
}Fields§
§trace_id: String§span_id: String§parent_span_id: String§run_id: String§span_kind: String§name: String§start_time: i64§end_time: i64§status: String§latency_ms: i64§input_tokens: i64§output_tokens: i64§total_tokens: i64§model_provider: String§model_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ClickHouseSpan
impl<'de> Deserialize<'de> for ClickHouseSpan
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
Source§impl From<&SpanRecord> for ClickHouseSpan
impl From<&SpanRecord> for ClickHouseSpan
Source§fn from(span: &SpanRecord) -> Self
fn from(span: &SpanRecord) -> Self
Converts to this type from the input type.
Source§impl Row for ClickHouseSpan
impl Row for ClickHouseSpan
const COLUMN_NAMES: &'static [&'static str]
Auto Trait Implementations§
impl Freeze for ClickHouseSpan
impl RefUnwindSafe for ClickHouseSpan
impl Send for ClickHouseSpan
impl Sync for ClickHouseSpan
impl Unpin for ClickHouseSpan
impl UnsafeUnpin for ClickHouseSpan
impl UnwindSafe for ClickHouseSpan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more