pub enum ContentRating {
Unknown = 0,
Safe = 1,
Suggestive = 2,
NSFW = 3,
}Expand description
The content rating of a manga.
Variants§
Trait Implementations§
Source§impl Clone for ContentRating
impl Clone for ContentRating
Source§fn clone(&self) -> ContentRating
fn clone(&self) -> ContentRating
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 ContentRating
impl Debug for ContentRating
Source§impl Default for ContentRating
impl Default for ContentRating
Source§fn default() -> ContentRating
fn default() -> ContentRating
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentRating
impl<'de> Deserialize<'de> for ContentRating
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
Source§impl PartialEq for ContentRating
impl PartialEq for ContentRating
Source§impl Serialize for ContentRating
impl Serialize for ContentRating
impl Copy for ContentRating
impl Eq for ContentRating
impl StructuralPartialEq for ContentRating
Auto Trait Implementations§
impl Freeze for ContentRating
impl RefUnwindSafe for ContentRating
impl Send for ContentRating
impl Sync for ContentRating
impl Unpin for ContentRating
impl UnwindSafe for ContentRating
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.