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