pub struct Analytics {
pub overall_rank: i32,
pub social_rank: i32,
pub social_shares: i32,
pub popularity: String,
}Expand description
Analytics about an Event
Fields§
§overall_rank: i32The Event’s overall rank. #1 is the most popular.
The Event’s social rank. #1 is the most popular.
The number of social shares involving this event.
popularity: StringThe Event’s popularity, as stars from 0-5. i.e. “★★☆☆☆”
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Analytics
impl<'de> Deserialize<'de> for Analytics
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
impl StructuralPartialEq for Analytics
Auto Trait Implementations§
impl Freeze for Analytics
impl RefUnwindSafe for Analytics
impl Send for Analytics
impl Sync for Analytics
impl Unpin for Analytics
impl UnwindSafe for Analytics
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