pub struct RealtimeConversationItemFunctionCall {
pub arguments: String,
pub name: String,
pub call_id: String,
pub id: Option<String>,
pub object: Option<String>,
pub status: String,
}Available on crate feature
realtime only.Fields§
§arguments: StringThe arguments of the function call. This is a JSON-encoded string representing the arguments passed to the function, for example {“arg1”: “value1”, “arg2”: 42}.
name: StringThe name of the function being called.
call_id: StringThe ID of the function call.
id: Option<String>The unique ID of the item. This may be provided by the client or generated by the server.
object: Option<String>Identifier for the API object being returned - always realtime.item.
Optional when creating a new item.
status: StringThe status of the item. Has no effect on the conversation.
Trait Implementations§
Source§impl Clone for RealtimeConversationItemFunctionCall
impl Clone for RealtimeConversationItemFunctionCall
Source§fn clone(&self) -> RealtimeConversationItemFunctionCall
fn clone(&self) -> RealtimeConversationItemFunctionCall
Returns a duplicate of the value. Read more
1.0.0 · 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 RealtimeConversationItemFunctionCall
impl<'de> Deserialize<'de> for RealtimeConversationItemFunctionCall
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 RealtimeConversationItemFunctionCall
impl RefUnwindSafe for RealtimeConversationItemFunctionCall
impl Send for RealtimeConversationItemFunctionCall
impl Sync for RealtimeConversationItemFunctionCall
impl Unpin for RealtimeConversationItemFunctionCall
impl UnwindSafe for RealtimeConversationItemFunctionCall
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