pub enum Rating {
Rejected,
Unknown,
OneStar,
TwoStars,
ThreeStars,
FourStars,
FiveStars,
}
Expand description
A user-assigned rating.
Variants§
Rejected
The resource has been rejected.
Unknown
The resource has not been rated.
OneStar
The resource has been rated 1 star.
TwoStars
The resource has been rated 2 stars.
ThreeStars
The resource has been rated 3 stars.
FourStars
The resource has been rated 4 stars.
FiveStars
The resource has been rated 5 stars.
Implementations§
Auto Trait Implementations§
impl Freeze for Rating
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
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