pub struct ResponsesOutputItem {
pub item_type: String,
pub role: Option<String>,
pub content: Option<Vec<ResponsesContent>>,
}Expand description
An output item in the Responses API response.
Fields§
§item_type: String§role: Option<String>§content: Option<Vec<ResponsesContent>>Trait Implementations§
Source§impl Clone for ResponsesOutputItem
impl Clone for ResponsesOutputItem
Source§fn clone(&self) -> ResponsesOutputItem
fn clone(&self) -> ResponsesOutputItem
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 ResponsesOutputItem
impl Debug for ResponsesOutputItem
Source§impl<'de> Deserialize<'de> for ResponsesOutputItem
impl<'de> Deserialize<'de> for ResponsesOutputItem
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 ResponsesOutputItem
impl RefUnwindSafe for ResponsesOutputItem
impl Send for ResponsesOutputItem
impl Sync for ResponsesOutputItem
impl Unpin for ResponsesOutputItem
impl UnwindSafe for ResponsesOutputItem
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