Struct modio::types::mods::Statistics
source · #[non_exhaustive]pub struct Statistics {
pub mod_id: ModId,
pub downloads_today: u32,
pub downloads_total: u32,
pub subscribers_total: u32,
pub popularity: Popularity,
pub ratings: Ratings,
pub date_expires: u64,
}
Expand description
See the Statistics Object docs for more information.
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.mod_id: ModId
§downloads_today: u32
§downloads_total: u32
§subscribers_total: u32
§popularity: Popularity
§ratings: Ratings
§date_expires: u64
Trait Implementations§
source§impl Debug for Statistics
impl Debug for Statistics
source§impl<'de> Deserialize<'de> for Statistics
impl<'de> Deserialize<'de> for Statistics
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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