pub struct DM<'a> {
pub endpoint: &'a str,
pub http_client: &'a Client,
}
Expand description
Direct Mail(DM) https://cn.aliyun.com/product/directmail
Fields§
§endpoint: &'a str
endpoint, such as dm.aliyuncs.com
http_client: &'a Client
global reqwest::Client
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DM<'a>
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§
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