#[non_exhaustive]pub struct ToolSearchCall {
pub agent: Option<Option<Agent>>,
pub type_: ToolSearchCallType,
pub id: Option<Option<String>>,
pub arguments: Value,
pub call_id: Option<Option<String>>,
pub execution: Option<ToolExecution>,
pub status: Option<Option<ItemStatus>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: Option<Option<Agent>>§type_: ToolSearchCallType§id: Option<Option<String>>§arguments: Value§call_id: Option<Option<String>>§execution: Option<ToolExecution>§status: Option<Option<ItemStatus>>§rest: RestImplementations§
Source§impl ToolSearchCall
impl ToolSearchCall
Sourcepub fn builder(
type_: ToolSearchCallType,
arguments: Value,
) -> ToolSearchCallBuilder
pub fn builder( type_: ToolSearchCallType, arguments: Value, ) -> ToolSearchCallBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ToolSearchCall
impl Clone for ToolSearchCall
Source§impl Debug for ToolSearchCall
impl Debug for ToolSearchCall
Source§impl DeclaredFields for ToolSearchCall
impl DeclaredFields for ToolSearchCall
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ToolSearchCall
impl<'de> Deserialize<'de> for ToolSearchCall
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
impl Eq for ToolSearchCall
Source§impl PartialEq for ToolSearchCall
impl PartialEq for ToolSearchCall
Source§impl Serialize for ToolSearchCall
impl Serialize for ToolSearchCall
impl StructuralPartialEq for ToolSearchCall
Auto Trait Implementations§
impl Freeze for ToolSearchCall
impl RefUnwindSafe for ToolSearchCall
impl Send for ToolSearchCall
impl Sync for ToolSearchCall
impl Unpin for ToolSearchCall
impl UnsafeUnpin for ToolSearchCall
impl UnwindSafe for ToolSearchCall
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