pub struct PopularityResult {
pub per_player: Option<Vec<PopularityResultChar>>,
pub per_character: Option<Vec<PopularityResultChar>>,
pub per_player_total: Option<i64>,
pub per_character_total: Option<i64>,
pub last_update: Option<String>,
}Fields§
§per_player: Option<Vec<PopularityResultChar>>Character popularity per player
per_character: Option<Vec<PopularityResultChar>>Character popularity per character
per_player_total: Option<i64>Total number of players for popularity calculation
per_character_total: Option<i64>Total number of characters for popularity calculation
last_update: Option<String>Timestamp of the last update
Implementations§
Source§impl PopularityResult
impl PopularityResult
pub fn new() -> PopularityResult
Trait Implementations§
Source§impl Clone for PopularityResult
impl Clone for PopularityResult
Source§fn clone(&self) -> PopularityResult
fn clone(&self) -> PopularityResult
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 PopularityResult
impl Debug for PopularityResult
Source§impl Default for PopularityResult
impl Default for PopularityResult
Source§fn default() -> PopularityResult
fn default() -> PopularityResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PopularityResult
impl<'de> Deserialize<'de> for PopularityResult
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
Source§impl PartialEq for PopularityResult
impl PartialEq for PopularityResult
Source§impl Serialize for PopularityResult
impl Serialize for PopularityResult
impl StructuralPartialEq for PopularityResult
Auto Trait Implementations§
impl Freeze for PopularityResult
impl RefUnwindSafe for PopularityResult
impl Send for PopularityResult
impl Sync for PopularityResult
impl Unpin for PopularityResult
impl UnsafeUnpin for PopularityResult
impl UnwindSafe for PopularityResult
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