pub struct Email {
pub id: EmailId,
pub email: String,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
Email address.
Fields§
§id: EmailId
👎Deprecated since 0.1609.0: define deserialization types in client code
ID of the email.
email: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The email address.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Email
impl<'de> Deserialize<'de> for Email
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
Auto Trait Implementations§
impl Freeze for Email
impl RefUnwindSafe for Email
impl Send for Email
impl Sync for Email
impl Unpin for Email
impl UnwindSafe for Email
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