pub struct RatingsSummary {
pub average: Option<f64>,
pub count: Option<u64>,
pub sortable: Option<f64>,
}Fields§
§average: Option<f64>§count: Option<u64>§sortable: Option<f64>Trait Implementations§
Source§impl Clone for RatingsSummary
impl Clone for RatingsSummary
Source§fn clone(&self) -> RatingsSummary
fn clone(&self) -> RatingsSummary
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 moreSource§impl Debug for RatingsSummary
impl Debug for RatingsSummary
Source§impl<'de> Deserialize<'de> for RatingsSummary
impl<'de> Deserialize<'de> for RatingsSummary
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 RatingsSummary
impl RefUnwindSafe for RatingsSummary
impl Send for RatingsSummary
impl Sync for RatingsSummary
impl Unpin for RatingsSummary
impl UnsafeUnpin for RatingsSummary
impl UnwindSafe for RatingsSummary
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