pub struct DeletionRequest {
pub login: String,
pub password: String,
pub password_confirmation: String,
pub deletion_confirmation: bool,
}Expand description
Deletion request called from frontend
Fields§
§login: StringLogin
password: StringPassword
password_confirmation: StringPassword confirmation
deletion_confirmation: boolDeletion confirmation
Trait Implementations§
Source§impl Clone for DeletionRequest
impl Clone for DeletionRequest
Source§fn clone(&self) -> DeletionRequest
fn clone(&self) -> DeletionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeletionRequest
impl Debug for DeletionRequest
Source§impl<'de> Deserialize<'de> for DeletionRequest
impl<'de> Deserialize<'de> for DeletionRequest
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 DeletionRequest
impl RefUnwindSafe for DeletionRequest
impl Send for DeletionRequest
impl Sync for DeletionRequest
impl Unpin for DeletionRequest
impl UnsafeUnpin for DeletionRequest
impl UnwindSafe for DeletionRequest
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