[][src]Struct aliyun_openapi::DM

pub struct DM<'a> {
    pub endpoint: &'a str,
    pub http_client: &'a Client,
}

邮件推送 https://help.aliyun.com/product/29412.html

Fields

endpoint: &'a str

endpoint, such as dm.aliyuncs.com

http_client: &'a Client

global reqwest::Client

Implementations

impl<'a> DM<'a>[src]

pub async fn send<'_, '_, '_>(
    &'_ self,
    simple_mail: &'_ SimpleMail<'_>
) -> Result<bool>
[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for DM<'a>

impl<'a> Send for DM<'a>

impl<'a> Sync for DM<'a>

impl<'a> Unpin for DM<'a>

impl<'a> !UnwindSafe for DM<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.