pub struct AliyunSmsConfig {
pub access_key_id: String,
pub access_key_secret: String,
pub region: String,
}Expand description
阿里云短信配置
Fields§
§access_key_id: StringAccess Key ID
access_key_secret: StringAccess Key Secret
region: String区域
Trait Implementations§
Source§impl Clone for AliyunSmsConfig
impl Clone for AliyunSmsConfig
Source§fn clone(&self) -> AliyunSmsConfig
fn clone(&self) -> AliyunSmsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AliyunSmsConfig
impl Debug for AliyunSmsConfig
Source§impl Default for AliyunSmsConfig
impl Default for AliyunSmsConfig
Source§fn default() -> AliyunSmsConfig
fn default() -> AliyunSmsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AliyunSmsConfig
impl<'de> Deserialize<'de> for AliyunSmsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AliyunSmsConfig
impl RefUnwindSafe for AliyunSmsConfig
impl Send for AliyunSmsConfig
impl Sync for AliyunSmsConfig
impl Unpin for AliyunSmsConfig
impl UnwindSafe for AliyunSmsConfig
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