pub struct MessageDeltaContentTextObject {
pub index: i64,
pub type: String,
pub text: Option<MessageDeltaContentTextObject_Text>,
}
Expand description
The text content that is part of a message.
Fields§
§index: i64
The index of the content part in the message.
type: String
Always text
.
text: Option<MessageDeltaContentTextObject_Text>
Trait Implementations§
Source§impl Clone for MessageDeltaContentTextObject
impl Clone for MessageDeltaContentTextObject
Source§fn clone(&self) -> MessageDeltaContentTextObject
fn clone(&self) -> MessageDeltaContentTextObject
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 Default for MessageDeltaContentTextObject
impl Default for MessageDeltaContentTextObject
Source§fn default() -> MessageDeltaContentTextObject
fn default() -> MessageDeltaContentTextObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDeltaContentTextObject
impl RefUnwindSafe for MessageDeltaContentTextObject
impl Send for MessageDeltaContentTextObject
impl Sync for MessageDeltaContentTextObject
impl Unpin for MessageDeltaContentTextObject
impl UnwindSafe for MessageDeltaContentTextObject
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