pub struct DeckStats {
pub deck_id: u64,
pub new_count: u32,
pub learn_count: u32,
pub review_count: u32,
pub total_in_deck: u32,
}
Expand description
Statistics for a deck
Fields§
§deck_id: u64
§new_count: u32
§learn_count: u32
§review_count: u32
§total_in_deck: u32
Trait Implementations§
Source§impl From<DeckStatsDto> for DeckStats
impl From<DeckStatsDto> for DeckStats
Source§fn from(dto: DeckStatsDto) -> Self
fn from(dto: DeckStatsDto) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeckStats
impl RefUnwindSafe for DeckStats
impl Send for DeckStats
impl Sync for DeckStats
impl Unpin for DeckStats
impl UnwindSafe for DeckStats
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