pub struct LinkEmailRequestBody {
pub code: LinkEmailRequestBodyCode,
pub email: String,
pub user_id: String,
}Expand description
LinkEmailRequestBody
JSON schema
{
"title": "LinkEmailRequestBody",
"type": "object",
"required": [
"code",
"email",
"user_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 6,
"minLength": 6
},
"email": {
"type": "string",
"format": "email"
},
"user_id": {
"type": "string"
}
}
}Fields§
§code: LinkEmailRequestBodyCode§email: String§user_id: StringTrait Implementations§
Source§impl Clone for LinkEmailRequestBody
impl Clone for LinkEmailRequestBody
Source§fn clone(&self) -> LinkEmailRequestBody
fn clone(&self) -> LinkEmailRequestBody
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 LinkEmailRequestBody
impl Debug for LinkEmailRequestBody
Source§impl<'de> Deserialize<'de> for LinkEmailRequestBody
impl<'de> Deserialize<'de> for LinkEmailRequestBody
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
Source§impl From<&LinkEmailRequestBody> for LinkEmailRequestBody
impl From<&LinkEmailRequestBody> for LinkEmailRequestBody
Source§fn from(value: &LinkEmailRequestBody) -> Self
fn from(value: &LinkEmailRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkEmailRequestBody
impl RefUnwindSafe for LinkEmailRequestBody
impl Send for LinkEmailRequestBody
impl Sync for LinkEmailRequestBody
impl Unpin for LinkEmailRequestBody
impl UnwindSafe for LinkEmailRequestBody
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