pub struct CreateSessionModel {
pub user_uuid: String,
pub map_id: String,
pub session_date: NaiveDateTime,
pub difficulty: String,
pub accuracy: f32,
pub level: i32,
pub game_time: i32,
pub score_value: i32,
pub targets_hit: i32,
pub targets_miss: i32,
pub average_offset_time: i32,
pub personal_best: bool,
}Fields§
§user_uuid: String§map_id: String§session_date: NaiveDateTime§difficulty: String§accuracy: f32§level: i32§game_time: i32§score_value: i32§targets_hit: i32§targets_miss: i32§average_offset_time: i32§personal_best: boolTrait Implementations§
Source§impl Clone for CreateSessionModel
impl Clone for CreateSessionModel
Source§fn clone(&self) -> CreateSessionModel
fn clone(&self) -> CreateSessionModel
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 CreateSessionModel
impl RefUnwindSafe for CreateSessionModel
impl Send for CreateSessionModel
impl Sync for CreateSessionModel
impl Unpin for CreateSessionModel
impl UnwindSafe for CreateSessionModel
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