pub struct ToolCallClientContributor {
pub client_id: String,
}Fields§
§client_id: StringIf this tool is provided by a client, the clientId of the owning client.
Absent for server-side tools.
When set, the identified client is responsible for executing the tool and
dispatching chat/toolCallComplete with the result.
Trait Implementations§
Source§impl Clone for ToolCallClientContributor
impl Clone for ToolCallClientContributor
Source§fn clone(&self) -> ToolCallClientContributor
fn clone(&self) -> ToolCallClientContributor
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 ToolCallClientContributor
impl Debug for ToolCallClientContributor
Source§impl<'de> Deserialize<'de> for ToolCallClientContributor
impl<'de> Deserialize<'de> for ToolCallClientContributor
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 PartialEq for ToolCallClientContributor
impl PartialEq for ToolCallClientContributor
Source§fn eq(&self, other: &ToolCallClientContributor) -> bool
fn eq(&self, other: &ToolCallClientContributor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolCallClientContributor
Auto Trait Implementations§
impl Freeze for ToolCallClientContributor
impl RefUnwindSafe for ToolCallClientContributor
impl Send for ToolCallClientContributor
impl Sync for ToolCallClientContributor
impl Unpin for ToolCallClientContributor
impl UnsafeUnpin for ToolCallClientContributor
impl UnwindSafe for ToolCallClientContributor
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