pub struct TraceBody {
pub id: String,
pub name: Option<String>,
pub session_id: Option<String>,
pub input: Option<Value>,
pub output: Option<Value>,
pub metadata: Option<Value>,
pub environment: Option<String>,
pub timestamp: Option<String>,
}Expand description
Body for a trace (shared by trace-create and update).
Fields§
§id: StringTrace ID (our turn-level UUID). Sending the same ID again acts as an update.
name: Option<String>§session_id: Option<String>Links together multiple turn-traces belonging to the same defect session.
input: Option<Value>§output: Option<Value>§metadata: Option<Value>§environment: Option<String>Deployment environment (e.g. production).
timestamp: Option<String>Trace start time (RFC3339).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceBody
impl RefUnwindSafe for TraceBody
impl Send for TraceBody
impl Sync for TraceBody
impl Unpin for TraceBody
impl UnsafeUnpin for TraceBody
impl UnwindSafe for TraceBody
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