pub struct RatingCount {
pub param_1: u32,
pub param_2: u32,
pub param_3: u32,
pub param_4: u32,
pub param_5: u32,
pub param_6: u32,
pub param_7: u32,
pub param_8: u32,
pub param_9: u32,
pub param_10: u32,
}Expand description
评分分布统计结构体
记录1-10分每个分数段的投票数量
Fields§
§param_1: u32§param_2: u32§param_3: u32§param_4: u32§param_5: u32§param_6: u32§param_7: u32§param_8: u32§param_9: u32§param_10: u32Trait Implementations§
Source§impl Clone for RatingCount
impl Clone for RatingCount
Source§fn clone(&self) -> RatingCount
fn clone(&self) -> RatingCount
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 RatingCount
impl Debug for RatingCount
Source§impl<'de> Deserialize<'de> for RatingCount
impl<'de> Deserialize<'de> for RatingCount
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 RatingCount
impl RefUnwindSafe for RatingCount
impl Send for RatingCount
impl Sync for RatingCount
impl Unpin for RatingCount
impl UnwindSafe for RatingCount
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