pub struct InputMessage {
pub content: InputMessageContentList,
pub role: String,
pub status: Option<String>,
pub _type: Option<String>,
}
Fields§
§content: InputMessageContentList
§role: String
The role of the message input. One of user
, system
, or developer
.
status: Option<String>
The status of item. One of in_progress
, completed
, or incomplete
. Populated when items are returned via API.
_type: Option<String>
The type of the message input. Always set to message
.
Trait Implementations§
Source§impl Debug for InputMessage
impl Debug for InputMessage
Source§impl<'de> Deserialize<'de> for InputMessage
impl<'de> Deserialize<'de> for InputMessage
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 InputMessage
impl RefUnwindSafe for InputMessage
impl Send for InputMessage
impl Sync for InputMessage
impl Unpin for InputMessage
impl UnwindSafe for InputMessage
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