pub struct ReplyToMessage {
pub to: Vec<String>,
pub reply_all: Option<bool>,
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>,
pub track_opens: Option<bool>,
}Expand description
Request body for reply_to_message and
reply_all_to_message. to overrides the derived recipients when
non-empty; at least one of text/html is required by the API.
Fields§
§to: Vec<String>Recipient override; empty means derive from the parent message.
reply_all: Option<bool>Treat the reply as a reply-all (server-side convenience flag for
reply_to_message).
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.
track_opens: Option<bool>Ask the API to make open tracking available for this reply.
Trait Implementations§
Source§impl Clone for ReplyToMessage
impl Clone for ReplyToMessage
Source§impl Debug for ReplyToMessage
impl Debug for ReplyToMessage
Source§impl Default for ReplyToMessage
impl Default for ReplyToMessage
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