pub struct TencentSmsConfig {
pub sdk_app_id: String,
pub secret_id: String,
pub secret_key: String,
pub region: String,
}Expand description
腾讯云短信配置
Fields§
§sdk_app_id: StringSDK App ID
secret_id: StringSecret ID
secret_key: StringSecret Key
region: String区域
Trait Implementations§
Source§impl Clone for TencentSmsConfig
impl Clone for TencentSmsConfig
Source§fn clone(&self) -> TencentSmsConfig
fn clone(&self) -> TencentSmsConfig
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 TencentSmsConfig
impl Debug for TencentSmsConfig
Source§impl Default for TencentSmsConfig
impl Default for TencentSmsConfig
Source§fn default() -> TencentSmsConfig
fn default() -> TencentSmsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TencentSmsConfig
impl<'de> Deserialize<'de> for TencentSmsConfig
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 TencentSmsConfig
impl RefUnwindSafe for TencentSmsConfig
impl Send for TencentSmsConfig
impl Sync for TencentSmsConfig
impl Unpin for TencentSmsConfig
impl UnwindSafe for TencentSmsConfig
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