pub struct InputMessageResource {
pub content: InputMessageContentList,
pub role: String,
pub status: Option<String>,
pub _type: Option<String>,
pub id: 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
.
id: String
The unique ID of the message input.
Trait Implementations§
Source§impl Debug for InputMessageResource
impl Debug for InputMessageResource
Source§impl<'de> Deserialize<'de> for InputMessageResource
impl<'de> Deserialize<'de> for InputMessageResource
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 InputMessageResource
impl RefUnwindSafe for InputMessageResource
impl Send for InputMessageResource
impl Sync for InputMessageResource
impl Unpin for InputMessageResource
impl UnwindSafe for InputMessageResource
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