#[non_exhaustive]pub struct Downloads {
pub total: u32,
pub today: u32,
pub daily_average: u32,
}
Expand description
Part of Statistics
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.total: u32
§today: u32
§daily_average: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Downloads
impl RefUnwindSafe for Downloads
impl Send for Downloads
impl Sync for Downloads
impl Unpin for Downloads
impl UnwindSafe for Downloads
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