pub enum ResponseOutputContentPart {
OutputText {
annotations: Vec<ResponseAnnotation>,
logprobs: Option<Vec<TokenLogprob>>,
text: String,
extra: Extra,
},
Refusal {
refusal: String,
extra: Extra,
},
ReasoningText {
text: String,
extra: Extra,
},
}Variants§
OutputText
Refusal
ReasoningText
Trait Implementations§
Source§impl Clone for ResponseOutputContentPart
impl Clone for ResponseOutputContentPart
Source§fn clone(&self) -> ResponseOutputContentPart
fn clone(&self) -> ResponseOutputContentPart
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 ResponseOutputContentPart
impl Debug for ResponseOutputContentPart
Source§impl<'de> Deserialize<'de> for ResponseOutputContentPart
impl<'de> Deserialize<'de> for ResponseOutputContentPart
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 StructuralPartialEq for ResponseOutputContentPart
Auto Trait Implementations§
impl Freeze for ResponseOutputContentPart
impl RefUnwindSafe for ResponseOutputContentPart
impl Send for ResponseOutputContentPart
impl Sync for ResponseOutputContentPart
impl Unpin for ResponseOutputContentPart
impl UnsafeUnpin for ResponseOutputContentPart
impl UnwindSafe for ResponseOutputContentPart
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