pub struct ResponseCreateOptions {
pub modalities: Option<Vec<String>>,
pub instructions: Option<String>,
pub metadata: Option<JsonObject>,
}Expand description
Options of a response-create event.
Fields§
§modalities: Option<Vec<String>>Modalities.
instructions: Option<String>Instructions for this response.
metadata: Option<JsonObject>Metadata.
Trait Implementations§
Source§impl Clone for ResponseCreateOptions
impl Clone for ResponseCreateOptions
Source§fn clone(&self) -> ResponseCreateOptions
fn clone(&self) -> ResponseCreateOptions
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 ResponseCreateOptions
impl Debug for ResponseCreateOptions
Source§impl Default for ResponseCreateOptions
impl Default for ResponseCreateOptions
Source§fn default() -> ResponseCreateOptions
fn default() -> ResponseCreateOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseCreateOptions
impl<'de> Deserialize<'de> for ResponseCreateOptions
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 ResponseCreateOptions
impl PartialEq for ResponseCreateOptions
Source§impl Serialize for ResponseCreateOptions
impl Serialize for ResponseCreateOptions
impl StructuralPartialEq for ResponseCreateOptions
Auto Trait Implementations§
impl Freeze for ResponseCreateOptions
impl RefUnwindSafe for ResponseCreateOptions
impl Send for ResponseCreateOptions
impl Sync for ResponseCreateOptions
impl Unpin for ResponseCreateOptions
impl UnsafeUnpin for ResponseCreateOptions
impl UnwindSafe for ResponseCreateOptions
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