pub struct EmailLoginBody {
pub email: String,
pub password: EmailLoginBodyPassword,
}Expand description
EmailLoginBody
JSON schema
{
"type": "object",
"required": [
"email",
"password"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"maxLength": 254,
"minLength": 3
},
"password": {
"type": "string",
"maxLength": 256,
"minLength": 1
}
}
}Fields§
§email: String§password: EmailLoginBodyPasswordImplementations§
Source§impl EmailLoginBody
impl EmailLoginBody
pub fn builder() -> EmailLoginBody
Trait Implementations§
Source§impl Clone for EmailLoginBody
impl Clone for EmailLoginBody
Source§fn clone(&self) -> EmailLoginBody
fn clone(&self) -> EmailLoginBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailLoginBody
impl Debug for EmailLoginBody
Source§impl<'de> Deserialize<'de> for EmailLoginBody
impl<'de> Deserialize<'de> for EmailLoginBody
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<&EmailLoginBody> for EmailLoginBody
impl From<&EmailLoginBody> for EmailLoginBody
Source§fn from(value: &EmailLoginBody) -> Self
fn from(value: &EmailLoginBody) -> Self
Converts to this type from the input type.
Source§impl From<EmailLoginBody> for EmailLoginBody
impl From<EmailLoginBody> for EmailLoginBody
Source§fn from(value: EmailLoginBody) -> Self
fn from(value: EmailLoginBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for EmailLoginBody
impl Serialize for EmailLoginBody
Source§impl TryFrom<EmailLoginBody> for EmailLoginBody
impl TryFrom<EmailLoginBody> for EmailLoginBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EmailLoginBody) -> Result<Self, ConversionError>
fn try_from(value: EmailLoginBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EmailLoginBody
impl RefUnwindSafe for EmailLoginBody
impl Send for EmailLoginBody
impl Sync for EmailLoginBody
impl Unpin for EmailLoginBody
impl UnsafeUnpin for EmailLoginBody
impl UnwindSafe for EmailLoginBody
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