pub struct OpenAiOutputItem {
pub id: String,
pub item_type: String,
pub status: String,
pub role: String,
pub content: Vec<OpenAiOutputContent>,
}Fields§
§id: String§item_type: String§status: String§role: String§content: Vec<OpenAiOutputContent>Trait Implementations§
Source§impl Clone for OpenAiOutputItem
impl Clone for OpenAiOutputItem
Source§fn clone(&self) -> OpenAiOutputItem
fn clone(&self) -> OpenAiOutputItem
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 OpenAiOutputItem
impl Debug for OpenAiOutputItem
Source§impl<'de> Deserialize<'de> for OpenAiOutputItem
impl<'de> Deserialize<'de> for OpenAiOutputItem
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
Source§impl PartialEq for OpenAiOutputItem
impl PartialEq for OpenAiOutputItem
Source§impl Serialize for OpenAiOutputItem
impl Serialize for OpenAiOutputItem
impl StructuralPartialEq for OpenAiOutputItem
Auto Trait Implementations§
impl Freeze for OpenAiOutputItem
impl RefUnwindSafe for OpenAiOutputItem
impl Send for OpenAiOutputItem
impl Sync for OpenAiOutputItem
impl Unpin for OpenAiOutputItem
impl UnsafeUnpin for OpenAiOutputItem
impl UnwindSafe for OpenAiOutputItem
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