pub struct LessonsStats {
pub higest: Option<Rating>,
pub lowest: Option<Rating>,
}
Fields§
§higest: Option<Rating>
§lowest: Option<Rating>
Implementations§
Source§impl LessonsStats
impl LessonsStats
pub fn new() -> LessonsStats
Trait Implementations§
Source§impl Clone for LessonsStats
impl Clone for LessonsStats
Source§fn clone(&self) -> LessonsStats
fn clone(&self) -> LessonsStats
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 moreSource§impl Debug for LessonsStats
impl Debug for LessonsStats
Source§impl<'de> Deserialize<'de> for LessonsStats
impl<'de> Deserialize<'de> for LessonsStats
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 PartialEq for LessonsStats
impl PartialEq for LessonsStats
Source§impl Serialize for LessonsStats
impl Serialize for LessonsStats
impl StructuralPartialEq for LessonsStats
Auto Trait Implementations§
impl Freeze for LessonsStats
impl RefUnwindSafe for LessonsStats
impl Send for LessonsStats
impl Sync for LessonsStats
impl Unpin for LessonsStats
impl UnwindSafe for LessonsStats
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