pub struct CreatePassword {
pub user_id: Uuid,
pub password: String,
}
Expand description
Password authentication data. Separated from AuthenticationData to allow for impl blocks. Will go away once enum variants become types.
Fields§
§user_id: Uuid
§password: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreatePassword
impl<'de> Deserialize<'de> for CreatePassword
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 CreatePassword
impl RefUnwindSafe for CreatePassword
impl Send for CreatePassword
impl Sync for CreatePassword
impl Unpin for CreatePassword
impl UnwindSafe for CreatePassword
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