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