pub struct MessageDeltaObjectDelta {
pub content: Option<Vec<Value>>,
pub role: Option<String>,
}
Fields§
§content: Option<Vec<Value>>
The content of the message in array of text and/or images.
role: Option<String>
The entity that produced the message. One of user
or assistant
.
Trait Implementations§
Source§impl Debug for MessageDeltaObjectDelta
impl Debug for MessageDeltaObjectDelta
Source§impl<'de> Deserialize<'de> for MessageDeltaObjectDelta
impl<'de> Deserialize<'de> for MessageDeltaObjectDelta
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 MessageDeltaObjectDelta
impl RefUnwindSafe for MessageDeltaObjectDelta
impl Send for MessageDeltaObjectDelta
impl Sync for MessageDeltaObjectDelta
impl Unpin for MessageDeltaObjectDelta
impl UnwindSafe for MessageDeltaObjectDelta
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