pub struct SendMessageRequest<'a> {
pub content: &'a str,
pub nonce: &'a str,
pub attachments: Vec<AttachmentId>,
pub replies: Vec<ReplyData>,
}Fields§
§content: &'a str§nonce: &'a str§attachments: Vec<AttachmentId>§replies: Vec<ReplyData>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SendMessageRequest<'a>
impl<'a> RefUnwindSafe for SendMessageRequest<'a>
impl<'a> Send for SendMessageRequest<'a>
impl<'a> Sync for SendMessageRequest<'a>
impl<'a> Unpin for SendMessageRequest<'a>
impl<'a> UnwindSafe for SendMessageRequest<'a>
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