pub struct SendCodeResponse {
pub message: String,
pub verification_code: Option<String>,
}Expand description
发送验证码响应
Fields§
§message: String§verification_code: Option<String>验证码(仅在开发/测试模式下返回)
Trait Implementations§
Source§impl Clone for SendCodeResponse
impl Clone for SendCodeResponse
Source§fn clone(&self) -> SendCodeResponse
fn clone(&self) -> SendCodeResponse
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 SendCodeResponse
impl Debug for SendCodeResponse
Source§impl<'de> Deserialize<'de> for SendCodeResponse
impl<'de> Deserialize<'de> for SendCodeResponse
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 SendCodeResponse
impl RefUnwindSafe for SendCodeResponse
impl Send for SendCodeResponse
impl Sync for SendCodeResponse
impl Unpin for SendCodeResponse
impl UnsafeUnpin for SendCodeResponse
impl UnwindSafe for SendCodeResponse
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