pub struct FunctionExecutionChunkLog {
pub id: String,
pub tasks: Vec<LogReference>,
pub tasks_errors: Option<bool>,
pub output: Option<Output>,
pub error: Option<ResponseError>,
pub retry_token: Option<LogReference>,
pub created: u64,
pub function: Option<RemotePath>,
pub profile: Option<RemotePath>,
pub object: Object,
pub usage: Option<Usage>,
pub reasoning: Option<LogReference>,
}Fields§
§id: String§tasks: Vec<LogReference>§tasks_errors: Option<bool>§output: Option<Output>§error: Option<ResponseError>§retry_token: Option<LogReference>§created: u64§function: Option<RemotePath>§profile: Option<RemotePath>§object: Object§usage: Option<Usage>§reasoning: Option<LogReference>Appended at the end to match the legacy on-disk order: the
old code inserted reasoning via Map::insert AFTER all
the shell fields, putting it at the tail of the object.
Trait Implementations§
Source§impl Clone for FunctionExecutionChunkLog
impl Clone for FunctionExecutionChunkLog
Source§fn clone(&self) -> FunctionExecutionChunkLog
fn clone(&self) -> FunctionExecutionChunkLog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResponse for FunctionExecutionChunkLog
Available on crate feature mcp only.
impl CommandResponse for FunctionExecutionChunkLog
Available on crate feature
mcp only.fn into_mcp(self) -> McpResponseItem
Source§impl Debug for FunctionExecutionChunkLog
impl Debug for FunctionExecutionChunkLog
Source§impl<'de> Deserialize<'de> for FunctionExecutionChunkLog
impl<'de> Deserialize<'de> for FunctionExecutionChunkLog
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 JsonSchema for FunctionExecutionChunkLog
impl JsonSchema for FunctionExecutionChunkLog
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FunctionExecutionChunkLog
impl RefUnwindSafe for FunctionExecutionChunkLog
impl Send for FunctionExecutionChunkLog
impl Sync for FunctionExecutionChunkLog
impl Unpin for FunctionExecutionChunkLog
impl UnsafeUnpin for FunctionExecutionChunkLog
impl UnwindSafe for FunctionExecutionChunkLog
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 more