Struct mailslurp::apis::EmailControllerApiClient [−][src]
Implementations
impl<C: Connect> EmailControllerApiClient<C>
[src]
pub fn new(configuration: Rc<Configuration<C>>) -> EmailControllerApiClient<C>
[src]
Trait Implementations
impl<C: Connect> EmailControllerApi for EmailControllerApiClient<C>
[src]
fn delete_all_emails(&self) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]
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>>>
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>>>
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>>>
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>>>
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>>>
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>>>
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>>>
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>>>
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>>>
fn get_email_html_query(
&self,
email_id: &str,
html_selector: Option<&str>
) -> Box<dyn Future<Item = EmailTextLinesResult, Error = Error<Value>>>
[src]
&self,
email_id: &str,
html_selector: Option<&str>
) -> Box<dyn Future<Item = EmailTextLinesResult, Error = Error<Value>>>
fn get_email_text_lines(
&self,
email_id: &str,
decode_html_entities: Option<bool>,
line_separator: Option<&str>
) -> Box<dyn Future<Item = EmailTextLinesResult, Error = Error<Value>>>
[src]
&self,
email_id: &str,
decode_html_entities: Option<bool>,
line_separator: Option<&str>
) -> Box<dyn Future<Item = EmailTextLinesResult, Error = Error<Value>>>
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>>>
fn get_latest_email(
&self,
inbox_ids: Option<Vec<String>>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]
&self,
inbox_ids: Option<Vec<String>>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
fn get_latest_email_in_inbox(
&self,
inbox_id: Option<&str>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
[src]
&self,
inbox_id: Option<&str>
) -> Box<dyn Future<Item = Email, Error = Error<Value>>>
fn get_organization_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>>>
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>>>
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>>>
fn get_unread_email_count(
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
[src]
&self
) -> Box<dyn Future<Item = UnreadCount, Error = Error<Value>>>
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>>>
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>>>
Auto Trait Implementations
impl<C> !RefUnwindSafe for EmailControllerApiClient<C>
impl<C> !Send for EmailControllerApiClient<C>
impl<C> !Sync for EmailControllerApiClient<C>
impl<C> Unpin for EmailControllerApiClient<C>
impl<C> !UnwindSafe for EmailControllerApiClient<C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,