pub struct CreateUserModel {
pub email: String,
pub password: String,
pub username: String,
pub profile_picture: String,
pub all_time_accuracy: f32,
pub all_time_highscore: i32,
pub rank: i32,
pub percent: f32,
}Fields§
§email: String§password: String§username: String§profile_picture: String§all_time_accuracy: f32§all_time_highscore: i32§rank: i32§percent: f32Trait Implementations§
Source§impl Clone for CreateUserModel
impl Clone for CreateUserModel
Source§fn clone(&self) -> CreateUserModel
fn clone(&self) -> CreateUserModel
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 moreAuto Trait Implementations§
impl Freeze for CreateUserModel
impl RefUnwindSafe for CreateUserModel
impl Send for CreateUserModel
impl Sync for CreateUserModel
impl Unpin for CreateUserModel
impl UnwindSafe for CreateUserModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more