pub struct OutputMessage {
pub id: String,
pub type: String,
pub role: String,
pub content: Vec<OutputContent>,
pub status: String,
}
Expand description
An output message from the model.
Fields§
§id: String
The unique ID of the output message.
type: String
The type of the output message.
role: String
The role of the output message.
content: Vec<OutputContent>
The content of the output message.
status: String
The status of the message input.
Trait Implementations§
Source§impl Clone for OutputMessage
impl Clone for OutputMessage
Source§fn clone(&self) -> OutputMessage
fn clone(&self) -> OutputMessage
Returns a copy 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 OutputMessage
impl Debug for OutputMessage
Source§impl Default for OutputMessage
impl Default for OutputMessage
Source§fn default() -> OutputMessage
fn default() -> OutputMessage
Returns the “default value” for a type. 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