#[non_exhaustive]pub enum OutputContentPart {
Text(ResponseOutputText),
Refusal(ResponseOutputRefusal),
Reasoning(ReasoningText),
}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.
Trait Implementations§
Source§impl Clone for OutputContentPart
impl Clone for OutputContentPart
Source§impl Debug for OutputContentPart
impl Debug for OutputContentPart
Source§impl DeclaredFields for OutputContentPart
impl DeclaredFields for OutputContentPart
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for OutputContentPart
impl<'de> Deserialize<'de> for OutputContentPart
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
impl Eq for OutputContentPart
Source§impl PartialEq for OutputContentPart
impl PartialEq for OutputContentPart
Source§impl Serialize for OutputContentPart
impl Serialize for OutputContentPart
impl StructuralPartialEq for OutputContentPart
Auto Trait Implementations§
impl Freeze for OutputContentPart
impl RefUnwindSafe for OutputContentPart
impl Send for OutputContentPart
impl Sync for OutputContentPart
impl Unpin for OutputContentPart
impl UnsafeUnpin for OutputContentPart
impl UnwindSafe for OutputContentPart
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