pub struct Popularimeter {
pub email: Option<String>,
pub rating: u8,
pub play_count: Option<u64>,
}Expand description
Popularimeter (POPM)
Fields§
§email: Option<String>Email/identifier of the user
rating: u8Rating (1-255, 0 = unknown)
play_count: Option<u64>Play counter
Trait Implementations§
Source§impl Clone for Popularimeter
impl Clone for Popularimeter
Source§fn clone(&self) -> Popularimeter
fn clone(&self) -> Popularimeter
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 Popularimeter
impl Debug for Popularimeter
Source§impl<'de> Deserialize<'de> for Popularimeter
impl<'de> Deserialize<'de> for Popularimeter
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
Auto Trait Implementations§
impl Freeze for Popularimeter
impl RefUnwindSafe for Popularimeter
impl Send for Popularimeter
impl Sync for Popularimeter
impl Unpin for Popularimeter
impl UnwindSafe for Popularimeter
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