Struct fractal_dto::UpdateUserDTO
[−]
[src]
pub struct UpdateUserDTO { pub new_username: Option<String>, pub old_password: Option<String>, pub new_password: Option<String>, pub new_first: Option<String>, pub new_last: Option<String>, pub new_address: Option<Address>, pub new_birthday: Option<NaiveDate>, pub new_phone: Option<String>, pub new_email: Option<String>, pub new_image: Option<String>, }
Struct used to update user information
Fields
new_username: Option<String>
The users new username
old_password: Option<String>
The users old password
new_password: Option<String>
The users new password
new_first: Option<String>
The users new first name
new_last: Option<String>
The users new last name
new_address: Option<Address>
The users new address
new_birthday: Option<NaiveDate>
The users new birthday
new_phone: Option<String>
The users new phone #
new_email: Option<String>
The users new email
new_image: Option<String>
The users new profile picture
Trait Implementations
impl Decodable for UpdateUserDTO
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<UpdateUserDTO, __D::Error>
impl Encodable for UpdateUserDTO
[src]
impl Clone for UpdateUserDTO
[src]
fn clone(&self) -> UpdateUserDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more