pub struct UserBangumiRating {
pub score: f64,
pub count: i64,
}Expand description
番剧追番列表项中嵌入的评分摘要。
Fields§
§score: f64评分分数。
count: i64评分人数。
Trait Implementations§
Source§impl Clone for UserBangumiRating
impl Clone for UserBangumiRating
Source§fn clone(&self) -> UserBangumiRating
fn clone(&self) -> UserBangumiRating
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserBangumiRating
Source§impl Debug for UserBangumiRating
impl Debug for UserBangumiRating
Source§impl<'de> Deserialize<'de> for UserBangumiRating
impl<'de> Deserialize<'de> for UserBangumiRating
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 UserBangumiRating
impl PartialEq for UserBangumiRating
Source§fn eq(&self, other: &UserBangumiRating) -> bool
fn eq(&self, other: &UserBangumiRating) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserBangumiRating
impl Serialize for UserBangumiRating
impl StructuralPartialEq for UserBangumiRating
Auto Trait Implementations§
impl Freeze for UserBangumiRating
impl RefUnwindSafe for UserBangumiRating
impl Send for UserBangumiRating
impl Sync for UserBangumiRating
impl Unpin for UserBangumiRating
impl UnsafeUnpin for UserBangumiRating
impl UnwindSafe for UserBangumiRating
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