pub struct MessageContentTextObject {
pub type: String,
pub text: MessageContentTextObject_Text,
}
Expand description
The text content that is part of a message.
Fields§
§type: String
Always text
.
text: MessageContentTextObject_Text
Trait Implementations§
Source§impl Clone for MessageContentTextObject
impl Clone for MessageContentTextObject
Source§fn clone(&self) -> MessageContentTextObject
fn clone(&self) -> MessageContentTextObject
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MessageContentTextObject
impl RefUnwindSafe for MessageContentTextObject
impl Send for MessageContentTextObject
impl Sync for MessageContentTextObject
impl Unpin for MessageContentTextObject
impl UnwindSafe for MessageContentTextObject
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