pub struct SendMessageBody {
pub content: Option<String>,
pub nonce: Option<String>,
pub attachments: Option<Vec<String>>,
pub replies: Option<Vec<Replies>>,
pub embeds: Option<Vec<SendableEmbed>>,
}Fields§
§content: Option<String>§nonce: Option<String>§attachments: Option<Vec<String>>§replies: Option<Vec<Replies>>§embeds: Option<Vec<SendableEmbed>>Trait Implementations§
Source§impl Clone for SendMessageBody
impl Clone for SendMessageBody
Source§fn clone(&self) -> SendMessageBody
fn clone(&self) -> SendMessageBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SendMessageBody
impl Debug for SendMessageBody
Source§impl Default for SendMessageBody
impl Default for SendMessageBody
Source§fn default() -> SendMessageBody
fn default() -> SendMessageBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendMessageBody
impl RefUnwindSafe for SendMessageBody
impl Send for SendMessageBody
impl Sync for SendMessageBody
impl Unpin for SendMessageBody
impl UnsafeUnpin for SendMessageBody
impl UnwindSafe for SendMessageBody
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