pub struct OutputMessage {
pub content: Vec<OutputContent>,
pub id: String,
pub role: String,
pub status: String,
pub _type: String,
}Fields§
§content: Vec<OutputContent>The content of the output message.
id: StringThe unique ID of the output message.
role: StringThe role of the output message. Always assistant.
status: StringThe status of the message input. One of in_progress, completed, or incomplete. Populated when input items are returned via API.
_type: StringThe type of the output message. Always message.
Trait Implementations§
Source§impl Debug for OutputMessage
impl Debug for OutputMessage
Source§impl<'de> Deserialize<'de> for OutputMessage
impl<'de> Deserialize<'de> for OutputMessage
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 OutputMessage
impl RefUnwindSafe for OutputMessage
impl Send for OutputMessage
impl Sync for OutputMessage
impl Unpin for OutputMessage
impl UnwindSafe for OutputMessage
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