pub struct CallAgentFunction {
pub surface_id: String,
pub function_call_id: String,
pub call_function: FunctionCall,
}Expand description
Payload of a callAgentFunction message.
Fields§
§surface_id: StringSurface the call originated from.
function_call_id: StringCorrelation id; the agent copies it into its response.
call_function: FunctionCallThe function to invoke, with its arguments.
Trait Implementations§
Source§impl Clone for CallAgentFunction
impl Clone for CallAgentFunction
Source§fn clone(&self) -> CallAgentFunction
fn clone(&self) -> CallAgentFunction
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 CallAgentFunction
impl Debug for CallAgentFunction
Source§impl<'de> Deserialize<'de> for CallAgentFunction
impl<'de> Deserialize<'de> for CallAgentFunction
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 CallAgentFunction
impl PartialEq for CallAgentFunction
Source§fn eq(&self, other: &CallAgentFunction) -> bool
fn eq(&self, other: &CallAgentFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallAgentFunction
impl Serialize for CallAgentFunction
impl StructuralPartialEq for CallAgentFunction
Auto Trait Implementations§
impl Freeze for CallAgentFunction
impl RefUnwindSafe for CallAgentFunction
impl Send for CallAgentFunction
impl Sync for CallAgentFunction
impl Unpin for CallAgentFunction
impl UnsafeUnpin for CallAgentFunction
impl UnwindSafe for CallAgentFunction
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