pub struct MessageDeltaObject_Delta {
pub role: Option<String>,
pub content: Option<Vec<MessageDeltaObject_Delta_Content>>,
}
Expand description
The delta containing the fields that have changed on the Message.
Fields§
§role: Option<String>
The entity that produced the message.
content: Option<Vec<MessageDeltaObject_Delta_Content>>
The content of the message in array of text and/or images.
Trait Implementations§
Source§impl Clone for MessageDeltaObject_Delta
impl Clone for MessageDeltaObject_Delta
Source§fn clone(&self) -> MessageDeltaObject_Delta
fn clone(&self) -> MessageDeltaObject_Delta
Returns a duplicate 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 MessageDeltaObject_Delta
impl Debug for MessageDeltaObject_Delta
Source§impl Default for MessageDeltaObject_Delta
impl Default for MessageDeltaObject_Delta
Source§fn default() -> MessageDeltaObject_Delta
fn default() -> MessageDeltaObject_Delta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDeltaObject_Delta
impl RefUnwindSafe for MessageDeltaObject_Delta
impl Send for MessageDeltaObject_Delta
impl Sync for MessageDeltaObject_Delta
impl Unpin for MessageDeltaObject_Delta
impl UnwindSafe for MessageDeltaObject_Delta
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