pub enum Rating {
G,
Pg,
R,
X,
}
Expand description
The maximum rating level for which Gravatar will show the user’s image instead of the specified default.
Variants
G
Show “G”-rated images only.
Pg
Show “PG”-rated images or lower only.
R
Show “R”-rated images or lower only.
X
Show all images, up to and including “X”-rated ones.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more