Struct mail_tm_rs::user::User [−][src]
pub struct User { pub id: String, pub domain: String, pub password: String, pub email_token: String, }
Expand description
A global User
This user is the secret sauce for all things to do with this API. There will be raw counterparts but for now this is what you need.
Implements all the serde types and provides a random implementation to provide quick users.
id: the id of the email domain: email domain password: password email_token: the jwt token returned by mail-tm
Fields
id: String
domain: String
password: String
email_token: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V