pub struct UserChapterMetrics {
pub score_given: Option<f32>,
pub attempted_exercises: Option<i64>,
}
Fields§
§score_given: Option<f32>
§attempted_exercises: Option<i64>
Trait Implementations§
source§impl Clone for UserChapterMetrics
impl Clone for UserChapterMetrics
source§fn clone(&self) -> UserChapterMetrics
fn clone(&self) -> UserChapterMetrics
Returns a copy 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 moresource§impl Debug for UserChapterMetrics
impl Debug for UserChapterMetrics
source§impl<'de> Deserialize<'de> for UserChapterMetrics
impl<'de> Deserialize<'de> for UserChapterMetrics
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
source§impl<'a, R: Row> FromRow<'a, R> for UserChapterMetrics
impl<'a, R: Row> FromRow<'a, R> for UserChapterMetrics
source§impl PartialEq for UserChapterMetrics
impl PartialEq for UserChapterMetrics
source§fn eq(&self, other: &UserChapterMetrics) -> bool
fn eq(&self, other: &UserChapterMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserChapterMetrics
impl Serialize for UserChapterMetrics
impl StructuralPartialEq for UserChapterMetrics
Auto Trait Implementations§
impl RefUnwindSafe for UserChapterMetrics
impl Send for UserChapterMetrics
impl Sync for UserChapterMetrics
impl Unpin for UserChapterMetrics
impl UnwindSafe for UserChapterMetrics
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