pub struct CallFragment<'a> {
pub id: Option<&'a str>,
pub name: Option<&'a str>,
pub arguments: Option<&'a str>,
}Expand description
What one fragment of a buffered tool call carries.
Fields§
§id: Option<&'a str>The provider’s id for the call.
name: Option<&'a str>The tool’s name.
arguments: Option<&'a str>A fragment of the argument JSON.
Trait Implementations§
Source§impl<'a> Clone for CallFragment<'a>
impl<'a> Clone for CallFragment<'a>
Source§fn clone(&self) -> CallFragment<'a>
fn clone(&self) -> CallFragment<'a>
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 moreimpl<'a> Copy for CallFragment<'a>
Source§impl<'a> Debug for CallFragment<'a>
impl<'a> Debug for CallFragment<'a>
Source§impl<'a> Default for CallFragment<'a>
impl<'a> Default for CallFragment<'a>
Source§fn default() -> CallFragment<'a>
fn default() -> CallFragment<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CallFragment<'a>
impl<'a> RefUnwindSafe for CallFragment<'a>
impl<'a> Send for CallFragment<'a>
impl<'a> Sync for CallFragment<'a>
impl<'a> Unpin for CallFragment<'a>
impl<'a> UnsafeUnpin for CallFragment<'a>
impl<'a> UnwindSafe for CallFragment<'a>
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