pub struct CourseStat {
pub play: u64,
pub play_desc: String,
}Fields§
§play: u64§play_desc: StringTrait Implementations§
Source§impl Clone for CourseStat
impl Clone for CourseStat
Source§fn clone(&self) -> CourseStat
fn clone(&self) -> CourseStat
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 CourseStat
impl Debug for CourseStat
Source§impl<'de> Deserialize<'de> for CourseStat
impl<'de> Deserialize<'de> for CourseStat
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
Auto Trait Implementations§
impl Freeze for CourseStat
impl RefUnwindSafe for CourseStat
impl Send for CourseStat
impl Sync for CourseStat
impl Unpin for CourseStat
impl UnwindSafe for CourseStat
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