A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: app.rocksky.stats.defs 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8pub mod get_stats; 9 10#[jacquard_derive::lexicon] 11#[derive( 12 serde::Serialize, 13 serde::Deserialize, 14 Debug, 15 Clone, 16 PartialEq, 17 Eq, 18 jacquard_derive::IntoStatic, 19 Default 20)] 21#[serde(rename_all = "camelCase")] 22pub struct StatsView<'a> { 23 /// The total number of unique albums scrobbled. 24 #[serde(skip_serializing_if = "std::option::Option::is_none")] 25 pub albums: std::option::Option<i64>, 26 /// The total number of unique artists scrobbled. 27 #[serde(skip_serializing_if = "std::option::Option::is_none")] 28 pub artists: std::option::Option<i64>, 29 /// The total number of tracks marked as loved. 30 #[serde(skip_serializing_if = "std::option::Option::is_none")] 31 pub loved_tracks: std::option::Option<i64>, 32 /// The total number of scrobbles. 33 #[serde(skip_serializing_if = "std::option::Option::is_none")] 34 pub scrobbles: std::option::Option<i64>, 35 /// The total number of unique tracks scrobbled. 36 #[serde(skip_serializing_if = "std::option::Option::is_none")] 37 pub tracks: std::option::Option<i64>, 38}