pub struct ResponseOutputContent {
pub type_: String,
pub text: Option<String>,
pub annotations: Option<Vec<ResponseAnnotation>>,
}Expand description
Content block within an output item.
Fields§
§type_: StringContent type (e.g. “output_text”, “refusal”).
text: Option<String>Text content (for output_text blocks).
annotations: Option<Vec<ResponseAnnotation>>Annotations on the text (citations, file paths, etc.).
Trait Implementations§
Source§impl Clone for ResponseOutputContent
impl Clone for ResponseOutputContent
Source§fn clone(&self) -> ResponseOutputContent
fn clone(&self) -> ResponseOutputContent
Returns a duplicate of the value. Read more
1.0.0 · 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 ResponseOutputContent
impl Debug for ResponseOutputContent
Source§impl<'de> Deserialize<'de> for ResponseOutputContent
impl<'de> Deserialize<'de> for ResponseOutputContent
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 ResponseOutputContent
impl RefUnwindSafe for ResponseOutputContent
impl Send for ResponseOutputContent
impl Sync for ResponseOutputContent
impl Unpin for ResponseOutputContent
impl UnsafeUnpin for ResponseOutputContent
impl UnwindSafe for ResponseOutputContent
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