pub struct ToolCallUpdateFields {
pub kind: Option<ToolKind>,
pub status: Option<ToolCallStatus>,
pub label: Option<String>,
pub content: Option<Vec<ToolCallContent>>,
pub locations: Option<Vec<ToolCallLocation>>,
pub raw_input: Option<Value>,
}
Fields§
§kind: Option<ToolKind>
§status: Option<ToolCallStatus>
§label: Option<String>
§content: Option<Vec<ToolCallContent>>
§locations: Option<Vec<ToolCallLocation>>
§raw_input: Option<Value>
Trait Implementations§
Source§impl Clone for ToolCallUpdateFields
impl Clone for ToolCallUpdateFields
Source§fn clone(&self) -> ToolCallUpdateFields
fn clone(&self) -> ToolCallUpdateFields
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToolCallUpdateFields
impl Debug for ToolCallUpdateFields
Source§impl Default for ToolCallUpdateFields
impl Default for ToolCallUpdateFields
Source§fn default() -> ToolCallUpdateFields
fn default() -> ToolCallUpdateFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallUpdateFields
impl<'de> Deserialize<'de> for ToolCallUpdateFields
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 ToolCallUpdateFields
impl JsonSchema for ToolCallUpdateFields
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 ToolCallUpdateFields
impl RefUnwindSafe for ToolCallUpdateFields
impl Send for ToolCallUpdateFields
impl Sync for ToolCallUpdateFields
impl Unpin for ToolCallUpdateFields
impl UnwindSafe for ToolCallUpdateFields
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