pub struct ReplyToMessage {
pub cc: Vec<String>,
pub bcc: Vec<String>,
pub text: Option<String>,
pub html: Option<String>,
pub labels: Vec<String>,
pub attachments: Vec<SendAttachment>,
pub headers: Option<Value>,
}Expand description
Request body for Client::reply_to_message and
Client::reply_all_to_message. The to field is derived from the
parent message; at least one of text/html is required by the API.
Fields§
§cc: Vec<String>Carbon-copy recipients (in addition to those on the thread).
bcc: Vec<String>Blind-carbon-copy recipients.
text: Option<String>Plain-text body.
html: Option<String>HTML body.
labels: Vec<String>Labels to attach to the reply.
attachments: Vec<SendAttachment>Files to attach.
headers: Option<Value>Extra headers to set on the outgoing message.
Trait Implementations§
Source§impl Clone for ReplyToMessage
impl Clone for ReplyToMessage
Source§fn clone(&self) -> ReplyToMessage
fn clone(&self) -> ReplyToMessage
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 ReplyToMessage
impl Debug for ReplyToMessage
Source§impl Default for ReplyToMessage
impl Default for ReplyToMessage
Source§fn default() -> ReplyToMessage
fn default() -> ReplyToMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplyToMessage
impl RefUnwindSafe for ReplyToMessage
impl Send for ReplyToMessage
impl Sync for ReplyToMessage
impl Unpin for ReplyToMessage
impl UnsafeUnpin for ReplyToMessage
impl UnwindSafe for ReplyToMessage
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