#[non_exhaustive]pub enum ContentRatingVersion {
Oars1_0,
Oars1_1,
Unknown,
}Expand description
Defines the version of the OARS specification.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ContentRatingVersion
impl Clone for ContentRatingVersion
Source§fn clone(&self) -> ContentRatingVersion
fn clone(&self) -> ContentRatingVersion
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 ContentRatingVersion
impl Debug for ContentRatingVersion
Source§impl Default for ContentRatingVersion
impl Default for ContentRatingVersion
Source§impl<'de> Deserialize<'de> for ContentRatingVersion
impl<'de> Deserialize<'de> for ContentRatingVersion
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 Ord for ContentRatingVersion
impl Ord for ContentRatingVersion
Source§impl PartialEq for ContentRatingVersion
impl PartialEq for ContentRatingVersion
Source§impl PartialOrd for ContentRatingVersion
impl PartialOrd for ContentRatingVersion
Source§impl Serialize for ContentRatingVersion
impl Serialize for ContentRatingVersion
impl Copy for ContentRatingVersion
impl Eq for ContentRatingVersion
impl StructuralPartialEq for ContentRatingVersion
Auto Trait Implementations§
impl Freeze for ContentRatingVersion
impl RefUnwindSafe for ContentRatingVersion
impl Send for ContentRatingVersion
impl Sync for ContentRatingVersion
impl Unpin for ContentRatingVersion
impl UnwindSafe for ContentRatingVersion
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