#[non_exhaustive]pub struct CallAgentFunction {
pub surface_id: String,
pub function_call_id: String,
pub call_function: FunctionCall,
}Expand description
callAgentFunction.
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.surface_id: StringThe surface the call came from.
function_call_id: StringTo be echoed in the agent’s response.
call_function: FunctionCallThe call.
Trait Implementations§
Source§impl Clone for CallAgentFunction
impl Clone for CallAgentFunction
Source§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§impl Serialize for CallAgentFunction
impl Serialize for CallAgentFunction
impl StructuralPartialEq for CallAgentFunction
Auto Trait Implementations§
impl Forget for CallAgentFunction
impl Freeze for CallAgentFunction
impl Move 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