#[non_exhaustive]pub enum TextVerbosity {
Low,
Medium,
High,
}Expand description
Defines the verbosity level for text output
This enum controls how detailed and lengthy the model’s text responses should be. Available on GPT-5.2 and newer models.
§API Reference
Corresponds to the text.verbosity parameter in the OpenAI Responses API.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Low
Low verbosity - concise responses
Use this for brief, to-the-point answers.
Medium
Medium verbosity - balanced responses (default)
Use this for standard-length responses with appropriate detail.
High
High verbosity - comprehensive responses
Use this for detailed explanations with thorough coverage.
Trait Implementations§
Source§impl Clone for TextVerbosity
impl Clone for TextVerbosity
Source§fn clone(&self) -> TextVerbosity
fn clone(&self) -> TextVerbosity
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 TextVerbosity
impl Debug for TextVerbosity
Source§impl Display for TextVerbosity
impl Display for TextVerbosity
Source§impl FromStr for TextVerbosity
impl FromStr for TextVerbosity
Source§impl PartialEq for TextVerbosity
impl PartialEq for TextVerbosity
Source§impl Serialize for TextVerbosity
impl Serialize for TextVerbosity
impl StructuralPartialEq for TextVerbosity
Auto Trait Implementations§
impl Freeze for TextVerbosity
impl RefUnwindSafe for TextVerbosity
impl Send for TextVerbosity
impl Sync for TextVerbosity
impl Unpin for TextVerbosity
impl UnsafeUnpin for TextVerbosity
impl UnwindSafe for TextVerbosity
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