Struct ToolCallCancellationPayload
pub struct ToolCallCancellationPayload {
pub ids: Vec<String>,
}Expand description
Payload for tool call cancellation.
Fields§
§ids: Vec<String>IDs of the cancelled tool calls.
Trait Implementations§
§impl Clone for ToolCallCancellationPayload
impl Clone for ToolCallCancellationPayload
§fn clone(&self) -> ToolCallCancellationPayload
fn clone(&self) -> ToolCallCancellationPayload
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 more§impl Debug for ToolCallCancellationPayload
impl Debug for ToolCallCancellationPayload
§impl<'de> Deserialize<'de> for ToolCallCancellationPayload
impl<'de> Deserialize<'de> for ToolCallCancellationPayload
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallCancellationPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallCancellationPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolCallCancellationPayload
impl RefUnwindSafe for ToolCallCancellationPayload
impl Send for ToolCallCancellationPayload
impl Sync for ToolCallCancellationPayload
impl Unpin for ToolCallCancellationPayload
impl UnwindSafe for ToolCallCancellationPayload
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