#[non_exhaustive]pub enum ModelOutputItemKind {
Content,
ReasoningSummary,
ToolCall,
}Expand description
Classification of one ordered model output item.
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.
Content
User-visible model content.
ReasoningSummary
Human-readable reasoning summary, never hidden chain of thought.
ToolCall
Complete but unapproved tool-call proposal.
Trait Implementations§
Source§impl Clone for ModelOutputItemKind
impl Clone for ModelOutputItemKind
impl Copy for ModelOutputItemKind
Source§impl Debug for ModelOutputItemKind
impl Debug for ModelOutputItemKind
impl Eq for ModelOutputItemKind
Source§impl Hash for ModelOutputItemKind
impl Hash for ModelOutputItemKind
Source§impl Ord for ModelOutputItemKind
impl Ord for ModelOutputItemKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ModelOutputItemKind
impl PartialEq for ModelOutputItemKind
Source§impl PartialOrd for ModelOutputItemKind
impl PartialOrd for ModelOutputItemKind
impl StructuralPartialEq for ModelOutputItemKind
Auto Trait Implementations§
impl Forget for ModelOutputItemKind
impl Freeze for ModelOutputItemKind
impl Move for ModelOutputItemKind
impl RefUnwindSafe for ModelOutputItemKind
impl Send for ModelOutputItemKind
impl Sync for ModelOutputItemKind
impl Unpin for ModelOutputItemKind
impl UnsafeUnpin for ModelOutputItemKind
impl UnwindSafe for ModelOutputItemKind
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