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