pub struct AuthCredentials {
pub email: String,
pub password: String,
}Expand description
Represents authentication credentials based on SSOT validation rules.
Fields§
§email: String§password: StringTrait Implementations§
Source§impl Clone for AuthCredentials
impl Clone for AuthCredentials
Source§fn clone(&self) -> AuthCredentials
fn clone(&self) -> AuthCredentials
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 AuthCredentials
impl Debug for AuthCredentials
Source§impl<'de> Deserialize<'de> for AuthCredentials
impl<'de> Deserialize<'de> for AuthCredentials
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 PartialEq for AuthCredentials
impl PartialEq for AuthCredentials
Source§impl Serialize for AuthCredentials
impl Serialize for AuthCredentials
impl StructuralPartialEq for AuthCredentials
Auto Trait Implementations§
impl Freeze for AuthCredentials
impl RefUnwindSafe for AuthCredentials
impl Send for AuthCredentials
impl Sync for AuthCredentials
impl Unpin for AuthCredentials
impl UnwindSafe for AuthCredentials
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