pub struct ResponseOutputMessage {
pub id: String,
pub content: Vec<ReasoningItemContent>,
pub role: String,
pub status: ResponseOutputMessageStatus,
pub type_: String,
pub phase: Option<ResponseOutputMessagePhase>,
}Expand description
An output message from the model.
Fields§
§id: StringThe unique ID of the output message.
content: Vec<ReasoningItemContent>The content of the output message.
role: StringThe role of the output message. Always assistant.
status: ResponseOutputMessageStatusThe status of the message input.
type_: StringThe type of the output message. Always message.
phase: Option<ResponseOutputMessagePhase>Labels an assistant message as intermediate commentary (commentary) or the
Trait Implementations§
Source§impl Clone for ResponseOutputMessage
impl Clone for ResponseOutputMessage
Source§fn clone(&self) -> ResponseOutputMessage
fn clone(&self) -> ResponseOutputMessage
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 ResponseOutputMessage
impl Debug for ResponseOutputMessage
Source§impl<'de> Deserialize<'de> for ResponseOutputMessage
impl<'de> Deserialize<'de> for ResponseOutputMessage
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 ResponseOutputMessage
impl RefUnwindSafe for ResponseOutputMessage
impl Send for ResponseOutputMessage
impl Sync for ResponseOutputMessage
impl Unpin for ResponseOutputMessage
impl UnsafeUnpin for ResponseOutputMessage
impl UnwindSafe for ResponseOutputMessage
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