pub struct FunctionResponse {
pub function_call_id: String,
pub value: Option<Value>,
pub error: Option<FunctionError>,
}Expand description
The return response matching a callAgentFunction or callRendererFunction invocation.
Fields§
§function_call_id: StringThe unique ID matching the initiating function call.
value: Option<Value>The returned execution value.
error: Option<FunctionError>An error object indicating execution failure.
Trait Implementations§
Source§impl Clone for FunctionResponse
impl Clone for FunctionResponse
Source§impl Debug for FunctionResponse
impl Debug for FunctionResponse
Source§impl<'de> Deserialize<'de> for FunctionResponse
impl<'de> Deserialize<'de> for FunctionResponse
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 FunctionResponse
impl PartialEq for FunctionResponse
Source§impl Serialize for FunctionResponse
impl Serialize for FunctionResponse
impl StructuralPartialEq for FunctionResponse
Auto Trait Implementations§
impl Forget for FunctionResponse
impl Freeze for FunctionResponse
impl Move for FunctionResponse
impl RefUnwindSafe for FunctionResponse
impl Send for FunctionResponse
impl Sync for FunctionResponse
impl Unpin for FunctionResponse
impl UnsafeUnpin for FunctionResponse
impl UnwindSafe for FunctionResponse
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