pub struct Header {Show 15 fields
pub version: Option<u32>,
pub session_id: Option<SessionId>,
pub run_id: Option<RunId>,
pub request_id: Option<RequestId>,
pub backend: Option<Backend>,
pub model: Option<ModelId>,
pub reasoning: Option<Reasoning>,
pub budgets: Option<Budgets>,
pub tools: Option<Vec<ToolDefinition>>,
pub producer: Option<ProducerId>,
pub state: Option<StateId>,
pub eval_id: Option<EvalId>,
pub target: Option<ArtifactName>,
pub parameters: Value,
pub extra: BTreeMap<String, Value>,
}Fields§
§version: Option<u32>§session_id: Option<SessionId>§run_id: Option<RunId>§request_id: Option<RequestId>§backend: Option<Backend>§model: Option<ModelId>§reasoning: Option<Reasoning>§budgets: Option<Budgets>§tools: Option<Vec<ToolDefinition>>§producer: Option<ProducerId>§state: Option<StateId>§eval_id: Option<EvalId>§target: Option<ArtifactName>§parameters: ValueProvider-specific parameters remain dynamic.
extra: BTreeMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
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 Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.