#[non_exhaustive]pub struct RealtimeFunctionTool {
pub description: Option<Option<String>>,
pub name: Option<Option<String>>,
pub parameters: Option<Option<Value>>,
pub type_: Option<Option<RealtimeFunctionToolType>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/realtime_function_tool.py, RealtimeFunctionTool.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: Option<Option<String>>§name: Option<Option<String>>§parameters: Option<Option<Value>>§type_: Option<Option<RealtimeFunctionToolType>>§rest: RestImplementations§
Source§impl RealtimeFunctionTool
impl RealtimeFunctionTool
Sourcepub fn builder() -> RealtimeFunctionToolBuilder
pub fn builder() -> RealtimeFunctionToolBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for RealtimeFunctionTool
impl Clone for RealtimeFunctionTool
Source§impl Debug for RealtimeFunctionTool
impl Debug for RealtimeFunctionTool
Source§impl DeclaredFields for RealtimeFunctionTool
impl DeclaredFields for RealtimeFunctionTool
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for RealtimeFunctionTool
impl<'de> Deserialize<'de> for RealtimeFunctionTool
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 RealtimeFunctionTool
impl PartialEq for RealtimeFunctionTool
Source§impl Serialize for RealtimeFunctionTool
impl Serialize for RealtimeFunctionTool
impl StructuralPartialEq for RealtimeFunctionTool
Auto Trait Implementations§
impl Freeze for RealtimeFunctionTool
impl RefUnwindSafe for RealtimeFunctionTool
impl Send for RealtimeFunctionTool
impl Sync for RealtimeFunctionTool
impl Unpin for RealtimeFunctionTool
impl UnsafeUnpin for RealtimeFunctionTool
impl UnwindSafe for RealtimeFunctionTool
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