pub struct WorkRatings {
pub summary: Option<RatingsSummary>,
pub counts: Option<RatingsCounts>,
}Expand description
Response from GET /works/{id}/ratings.json.
Fields§
§summary: Option<RatingsSummary>§counts: Option<RatingsCounts>Trait Implementations§
Source§impl Clone for WorkRatings
impl Clone for WorkRatings
Source§fn clone(&self) -> WorkRatings
fn clone(&self) -> WorkRatings
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 WorkRatings
impl Debug for WorkRatings
Source§impl<'de> Deserialize<'de> for WorkRatings
impl<'de> Deserialize<'de> for WorkRatings
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 WorkRatings
impl RefUnwindSafe for WorkRatings
impl Send for WorkRatings
impl Sync for WorkRatings
impl Unpin for WorkRatings
impl UnsafeUnpin for WorkRatings
impl UnwindSafe for WorkRatings
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