pub struct ResponseTextConfig {
pub format: Option<ResponseFormatTextConfig>,
pub verbosity: Option<String>,
}Expand description
text request field: output format + verbosity.
Fields§
§format: Option<ResponseFormatTextConfig>§verbosity: Option<String>"low" | "medium" | "high".
Implementations§
Source§impl ResponseTextConfig
impl ResponseTextConfig
pub fn format(format: ResponseFormatTextConfig) -> Self
Trait Implementations§
Source§impl Clone for ResponseTextConfig
impl Clone for ResponseTextConfig
Source§fn clone(&self) -> ResponseTextConfig
fn clone(&self) -> ResponseTextConfig
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 ResponseTextConfig
impl Debug for ResponseTextConfig
Source§impl Default for ResponseTextConfig
impl Default for ResponseTextConfig
Source§fn default() -> ResponseTextConfig
fn default() -> ResponseTextConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseTextConfig
impl<'de> Deserialize<'de> for ResponseTextConfig
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 ResponseTextConfig
impl RefUnwindSafe for ResponseTextConfig
impl Send for ResponseTextConfig
impl Sync for ResponseTextConfig
impl Unpin for ResponseTextConfig
impl UnsafeUnpin for ResponseTextConfig
impl UnwindSafe for ResponseTextConfig
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