pub struct ChatFunctionCall {
pub name: String,
pub arguments: String,
}Expand description
Function call payload. OpenAI serializes arguments as a JSON string.
Fields§
§name: String§arguments: StringTrait Implementations§
Source§impl Clone for ChatFunctionCall
impl Clone for ChatFunctionCall
Source§fn clone(&self) -> ChatFunctionCall
fn clone(&self) -> ChatFunctionCall
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 ChatFunctionCall
impl Debug for ChatFunctionCall
Source§impl<'de> Deserialize<'de> for ChatFunctionCall
impl<'de> Deserialize<'de> for ChatFunctionCall
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
Auto Trait Implementations§
impl Freeze for ChatFunctionCall
impl RefUnwindSafe for ChatFunctionCall
impl Send for ChatFunctionCall
impl Sync for ChatFunctionCall
impl Unpin for ChatFunctionCall
impl UnsafeUnpin for ChatFunctionCall
impl UnwindSafe for ChatFunctionCall
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