pub struct ExtensionToolCallParams {
pub tool: String,
pub session_id: SessionId,
pub context_id: String,
pub invocation_id: ToolCallId,
pub arguments: Value,
pub resource: Option<String>,
pub cancellation_token: Option<String>,
}Fields§
§tool: String§session_id: SessionId§context_id: String§invocation_id: ToolCallId§arguments: Value§resource: Option<String>§cancellation_token: Option<String>Trait Implementations§
Source§impl Clone for ExtensionToolCallParams
impl Clone for ExtensionToolCallParams
Source§fn clone(&self) -> ExtensionToolCallParams
fn clone(&self) -> ExtensionToolCallParams
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 Debug for ExtensionToolCallParams
impl Debug for ExtensionToolCallParams
Source§impl<'de> Deserialize<'de> for ExtensionToolCallParams
impl<'de> Deserialize<'de> for ExtensionToolCallParams
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 ExtensionToolCallParams
impl JsonSchema for ExtensionToolCallParams
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 moreSource§impl PartialEq for ExtensionToolCallParams
impl PartialEq for ExtensionToolCallParams
Source§fn eq(&self, other: &ExtensionToolCallParams) -> bool
fn eq(&self, other: &ExtensionToolCallParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtensionToolCallParams
impl Serialize for ExtensionToolCallParams
impl StructuralPartialEq for ExtensionToolCallParams
Auto Trait Implementations§
impl Freeze for ExtensionToolCallParams
impl RefUnwindSafe for ExtensionToolCallParams
impl Send for ExtensionToolCallParams
impl Sync for ExtensionToolCallParams
impl Unpin for ExtensionToolCallParams
impl UnsafeUnpin for ExtensionToolCallParams
impl UnwindSafe for ExtensionToolCallParams
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