pub struct PendingCall {
pub id: String,
pub name: String,
pub input: Value,
pub awaiting_approval: bool,
}Expand description
A tool call requested by the model that has not produced a result yet.
Fields§
§id: String§name: String§input: Value§awaiting_approval: boolTrait Implementations§
Source§impl Clone for PendingCall
impl Clone for PendingCall
Source§impl Debug for PendingCall
impl Debug for PendingCall
Source§impl<'de> Deserialize<'de> for PendingCall
impl<'de> Deserialize<'de> for PendingCall
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 PendingCall
impl PartialEq for PendingCall
Source§impl Serialize for PendingCall
impl Serialize for PendingCall
impl StructuralPartialEq for PendingCall
Auto Trait Implementations§
impl Freeze for PendingCall
impl RefUnwindSafe for PendingCall
impl Send for PendingCall
impl Sync for PendingCall
impl Unpin for PendingCall
impl UnsafeUnpin for PendingCall
impl UnwindSafe for PendingCall
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