pub struct FunctionApprovalResponseContent {
pub approved: bool,
pub id: String,
pub function_call: FunctionCallContent,
}Expand description
A user’s response approving or denying a function call.
Fields§
§approved: bool§id: String§function_call: FunctionCallContentTrait Implementations§
Source§impl Clone for FunctionApprovalResponseContent
impl Clone for FunctionApprovalResponseContent
Source§fn clone(&self) -> FunctionApprovalResponseContent
fn clone(&self) -> FunctionApprovalResponseContent
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<'de> Deserialize<'de> for FunctionApprovalResponseContent
impl<'de> Deserialize<'de> for FunctionApprovalResponseContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionApprovalResponseContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionApprovalResponseContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FunctionApprovalResponseContent> for Content
impl From<FunctionApprovalResponseContent> for Content
Source§fn from(v: FunctionApprovalResponseContent) -> Content
fn from(v: FunctionApprovalResponseContent) -> Content
Converts to this type from the input type.
Source§impl Serialize for FunctionApprovalResponseContent
impl Serialize for FunctionApprovalResponseContent
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 FunctionApprovalResponseContent
Auto Trait Implementations§
impl Freeze for FunctionApprovalResponseContent
impl RefUnwindSafe for FunctionApprovalResponseContent
impl Send for FunctionApprovalResponseContent
impl Sync for FunctionApprovalResponseContent
impl Unpin for FunctionApprovalResponseContent
impl UnsafeUnpin for FunctionApprovalResponseContent
impl UnwindSafe for FunctionApprovalResponseContent
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