[−][src]Trait mailslurp::apis::EmailControllerApi
Required methods
pub fn delete_all_emails(
&self
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn delete_email(
&self,
email_id: &str
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn download_attachment(
&self,
attachment_id: &str,
email_id: &str,
api_key: Option<&str>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str,
api_key: Option<&str>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn download_attachment_base64(
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = DownloadAttachmentDto, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = DownloadAttachmentDto, Error = Error<Value>>>
pub fn forward_email(
&self,
email_id: &str,
forward_email_options: ForwardEmailOptions
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self,
email_id: &str,
forward_email_options: ForwardEmailOptions
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn get_attachment_meta_data(
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = AttachmentMetaData, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = AttachmentMetaData, Error = Error<Value>>>
pub fn get_attachments(
&self,
email_id: &str
) -> Box<dyn Future<Item = Vec<AttachmentMetaData>, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = Vec<AttachmentMetaData>, Error = Error<Value>>>
pub fn get_email(
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
pub fn get_email_content_match(
&self,
email_id: &str,
content_match_options: ContentMatchOptions
) -> Box<dyn Future<Item = EmailContentMatchResult, Error = Error<Value>>>
[src]
&self,
email_id: &str,
content_match_options: ContentMatchOptions
) -> Box<dyn Future<Item = EmailContentMatchResult, Error = Error<Value>>>
pub fn get_email_html(
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn get_emails_paginated(
&self,
inbox_id: Option<Vec<String>>,
page: Option<i32>,
size: Option<i32>,
sort: Option<&str>,
unread_only: Option<bool>
) -> Box<dyn Future<Item = PageEmailProjection, Error = Error<Value>>>
[src]
&self,
inbox_id: Option<Vec<String>>,
page: Option<i32>,
size: Option<i32>,
sort: Option<&str>,
unread_only: Option<bool>
) -> Box<dyn Future<Item = PageEmailProjection, Error = Error<Value>>>
pub fn get_raw_email_contents(
&self,
email_id: &str
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn get_raw_email_json(
&self,
email_id: &str
) -> Box<dyn Future<Item = RawEmailJson, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = RawEmailJson, Error = Error<Value>>>
pub fn get_unread_email_count(
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
[src]
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
pub fn reply_to_email(
&self,
email_id: &str,
reply_to_email_options: ReplyToEmailOptions
) -> Box<dyn Future<Item = SentEmailDto, Error = Error<Value>>>
[src]
&self,
email_id: &str,
reply_to_email_options: ReplyToEmailOptions
) -> Box<dyn Future<Item = SentEmailDto, Error = Error<Value>>>
pub fn validate_email(
&self,
email_id: &str
) -> Box<dyn Future<Item = ValidationDto, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = ValidationDto, Error = Error<Value>>>
Implementors
impl<C: Connect> EmailControllerApi for EmailControllerApiClient<C>
[src]
pub fn delete_all_emails(
&self
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn delete_email(
&self,
email_id: &str
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn download_attachment(
&self,
attachment_id: &str,
email_id: &str,
api_key: Option<&str>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str,
api_key: Option<&str>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn download_attachment_base64(
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = DownloadAttachmentDto, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = DownloadAttachmentDto, Error = Error<Value>>>
pub fn forward_email(
&self,
email_id: &str,
forward_email_options: ForwardEmailOptions
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
&self,
email_id: &str,
forward_email_options: ForwardEmailOptions
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
pub fn get_attachment_meta_data(
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = AttachmentMetaData, Error = Error<Value>>>
[src]
&self,
attachment_id: &str,
email_id: &str
) -> Box<dyn Future<Item = AttachmentMetaData, Error = Error<Value>>>
pub fn get_attachments(
&self,
email_id: &str
) -> Box<dyn Future<Item = Vec<AttachmentMetaData>, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = Vec<AttachmentMetaData>, Error = Error<Value>>>
pub fn get_email(
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
pub fn get_email_content_match(
&self,
email_id: &str,
content_match_options: ContentMatchOptions
) -> Box<dyn Future<Item = EmailContentMatchResult, Error = Error<Value>>>
[src]
&self,
email_id: &str,
content_match_options: ContentMatchOptions
) -> Box<dyn Future<Item = EmailContentMatchResult, Error = Error<Value>>>
pub fn get_email_html(
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
email_id: &str,
decode: Option<bool>
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn get_emails_paginated(
&self,
inbox_id: Option<Vec<String>>,
page: Option<i32>,
size: Option<i32>,
sort: Option<&str>,
unread_only: Option<bool>
) -> Box<dyn Future<Item = PageEmailProjection, Error = Error<Value>>>
[src]
&self,
inbox_id: Option<Vec<String>>,
page: Option<i32>,
size: Option<i32>,
sort: Option<&str>,
unread_only: Option<bool>
) -> Box<dyn Future<Item = PageEmailProjection, Error = Error<Value>>>
pub fn get_raw_email_contents(
&self,
email_id: &str
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = String, Error = Error<Value>>>
pub fn get_raw_email_json(
&self,
email_id: &str
) -> Box<dyn Future<Item = RawEmailJson, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = RawEmailJson, Error = Error<Value>>>
pub fn get_unread_email_count(
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
[src]
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
pub fn reply_to_email(
&self,
email_id: &str,
reply_to_email_options: ReplyToEmailOptions
) -> Box<dyn Future<Item = SentEmailDto, Error = Error<Value>>>
[src]
&self,
email_id: &str,
reply_to_email_options: ReplyToEmailOptions
) -> Box<dyn Future<Item = SentEmailDto, Error = Error<Value>>>
pub fn validate_email(
&self,
email_id: &str
) -> Box<dyn Future<Item = ValidationDto, Error = Error<Value>>>
[src]
&self,
email_id: &str
) -> Box<dyn Future<Item = ValidationDto, Error = Error<Value>>>