pub struct FunctionResponse {
pub id: Option<CallId>,
pub name: String,
pub result: Value,
}Expand description
Represents a function response with name and arguments
Fields§
§id: Option<CallId>§name: String§result: ValueTrait Implementations§
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<FunctionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FunctionResponse
impl Display for FunctionResponse
Source§impl PartialEq for FunctionResponse
impl PartialEq for FunctionResponse
Source§impl Serialize for FunctionResponse
impl Serialize for FunctionResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionResponse
Auto Trait Implementations§
impl Freeze for FunctionResponse
impl RefUnwindSafe for FunctionResponse
impl Send for FunctionResponse
impl Sync for FunctionResponse
impl Unpin 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