pub struct EmailLoginResponse {
pub ok: bool,
pub user_id: String,
}Expand description
EmailLoginResponse
JSON schema
{
"type": "object",
"required": [
"ok",
"userId"
],
"properties": {
"ok": {
"type": "boolean"
},
"userId": {
"type": "string"
}
}
}Fields§
§ok: bool§user_id: StringImplementations§
Source§impl EmailLoginResponse
impl EmailLoginResponse
pub fn builder() -> EmailLoginResponse
Trait Implementations§
Source§impl Clone for EmailLoginResponse
impl Clone for EmailLoginResponse
Source§fn clone(&self) -> EmailLoginResponse
fn clone(&self) -> EmailLoginResponse
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 EmailLoginResponse
impl Debug for EmailLoginResponse
Source§impl<'de> Deserialize<'de> for EmailLoginResponse
impl<'de> Deserialize<'de> for EmailLoginResponse
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<&EmailLoginResponse> for EmailLoginResponse
impl From<&EmailLoginResponse> for EmailLoginResponse
Source§fn from(value: &EmailLoginResponse) -> Self
fn from(value: &EmailLoginResponse) -> Self
Converts to this type from the input type.
Source§impl From<EmailLoginResponse> for EmailLoginResponse
impl From<EmailLoginResponse> for EmailLoginResponse
Source§fn from(value: EmailLoginResponse) -> Self
fn from(value: EmailLoginResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for EmailLoginResponse
impl Serialize for EmailLoginResponse
Source§impl TryFrom<EmailLoginResponse> for EmailLoginResponse
impl TryFrom<EmailLoginResponse> for EmailLoginResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EmailLoginResponse) -> Result<Self, ConversionError>
fn try_from(value: EmailLoginResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EmailLoginResponse
impl RefUnwindSafe for EmailLoginResponse
impl Send for EmailLoginResponse
impl Sync for EmailLoginResponse
impl Unpin for EmailLoginResponse
impl UnsafeUnpin for EmailLoginResponse
impl UnwindSafe for EmailLoginResponse
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