pub struct Trace {Show 13 fields
pub id: String,
pub timestamp: String,
pub name: Option<Option<String>>,
pub input: Option<Option<Value>>,
pub output: Option<Option<Value>>,
pub session_id: Option<Option<String>>,
pub release: Option<Option<String>>,
pub version: Option<Option<String>>,
pub user_id: Option<Option<String>>,
pub metadata: Option<Option<Value>>,
pub tags: Option<Option<Vec<String>>>,
pub public: Option<Option<bool>>,
pub environment: Option<Option<String>>,
}Fields§
§id: StringThe unique identifier of a trace
timestamp: StringThe timestamp when the trace was created
name: Option<Option<String>>The name of the trace
input: Option<Option<Value>>The input data of the trace. Can be any JSON.
output: Option<Option<Value>>The output data of the trace. Can be any JSON.
session_id: Option<Option<String>>The session identifier associated with the trace
release: Option<Option<String>>The release version of the application when the trace was created
version: Option<Option<String>>The version of the trace
user_id: Option<Option<String>>The user identifier associated with the trace
metadata: Option<Option<Value>>The metadata associated with the trace. Can be any JSON.
The tags associated with the trace. Can be an array of strings or null.
public: Option<Option<bool>>Public traces are accessible via url without login
environment: Option<Option<String>>The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with ‘langfuse’.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Trace
impl<'de> Deserialize<'de> for Trace
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
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
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