pub struct MediaCommunity {
pub stars_avg: Option<f64>,
pub stars_count: Option<u64>,
pub stars_min: Option<u64>,
pub stars_max: Option<u64>,
pub stats_views: Option<u64>,
pub stats_favorites: Option<u64>,
}
Expand description
Represents a “media:community” item from the RSS Media spec
Fields§
§stars_avg: Option<f64>
Star rating
stars_count: Option<u64>
§stars_min: Option<u64>
§stars_max: Option<u64>
§stats_views: Option<u64>
Statistics on engagement
stats_favorites: Option<u64>
Trait Implementations§
Source§impl Clone for MediaCommunity
impl Clone for MediaCommunity
Source§fn clone(&self) -> MediaCommunity
fn clone(&self) -> MediaCommunity
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 MediaCommunity
impl Debug for MediaCommunity
Source§impl<'de> Deserialize<'de> for MediaCommunity
impl<'de> Deserialize<'de> for MediaCommunity
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 MediaCommunity
impl PartialEq for MediaCommunity
Source§impl Serialize for MediaCommunity
impl Serialize for MediaCommunity
impl StructuralPartialEq for MediaCommunity
Auto Trait Implementations§
impl Freeze for MediaCommunity
impl RefUnwindSafe for MediaCommunity
impl Send for MediaCommunity
impl Sync for MediaCommunity
impl Unpin for MediaCommunity
impl UnwindSafe for MediaCommunity
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