#[repr(i32)]pub enum AgeRatingRatingEnum {
Show 40 variants
AgeratingRatingNull = 0,
Three = 1,
Seven = 2,
Twelve = 3,
Sixteen = 4,
Eighteen = 5,
Rp = 6,
Ec = 7,
E = 8,
E10 = 9,
T = 10,
M = 11,
Ao = 12,
CeroA = 13,
CeroB = 14,
CeroC = 15,
CeroD = 16,
CeroZ = 17,
Usk0 = 18,
Usk6 = 19,
Usk12 = 20,
Usk16 = 21,
Usk18 = 22,
GracAll = 23,
GracTwelve = 24,
GracFifteen = 25,
GracEighteen = 26,
GracTesting = 27,
ClassIndL = 28,
ClassIndTen = 29,
ClassIndTwelve = 30,
ClassIndFourteen = 31,
ClassIndSixteen = 32,
ClassIndEighteen = 33,
AcbG = 34,
AcbPg = 35,
AcbM = 36,
AcbMa15 = 37,
AcbR18 = 38,
AcbRc = 39,
}
Variants§
AgeratingRatingNull = 0
Three = 1
Seven = 2
Twelve = 3
Sixteen = 4
Eighteen = 5
Rp = 6
Ec = 7
E = 8
E10 = 9
T = 10
M = 11
Ao = 12
CeroA = 13
CeroB = 14
CeroC = 15
CeroD = 16
CeroZ = 17
Usk0 = 18
Usk6 = 19
Usk12 = 20
Usk16 = 21
Usk18 = 22
GracAll = 23
GracTwelve = 24
GracFifteen = 25
GracEighteen = 26
GracTesting = 27
ClassIndL = 28
ClassIndTen = 29
ClassIndTwelve = 30
ClassIndFourteen = 31
ClassIndSixteen = 32
ClassIndEighteen = 33
AcbG = 34
AcbPg = 35
AcbM = 36
AcbMa15 = 37
AcbR18 = 38
AcbRc = 39
Implementations§
Source§impl AgeRatingRatingEnum
impl AgeRatingRatingEnum
Sourcepub fn from_i32(value: i32) -> Option<AgeRatingRatingEnum>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AgeRatingRatingEnum>
Converts an i32
to a AgeRatingRatingEnum
, or None
if value
is not a valid variant.
Source§impl AgeRatingRatingEnum
impl AgeRatingRatingEnum
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AgeRatingRatingEnum
impl Clone for AgeRatingRatingEnum
Source§fn clone(&self) -> AgeRatingRatingEnum
fn clone(&self) -> AgeRatingRatingEnum
Returns a copy 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 AgeRatingRatingEnum
impl Debug for AgeRatingRatingEnum
Source§impl Default for AgeRatingRatingEnum
impl Default for AgeRatingRatingEnum
Source§fn default() -> AgeRatingRatingEnum
fn default() -> AgeRatingRatingEnum
Returns the “default value” for a type. Read more
Source§impl From<AgeRatingRatingEnum> for i32
impl From<AgeRatingRatingEnum> for i32
Source§fn from(value: AgeRatingRatingEnum) -> i32
fn from(value: AgeRatingRatingEnum) -> i32
Converts to this type from the input type.
Source§impl Hash for AgeRatingRatingEnum
impl Hash for AgeRatingRatingEnum
Source§impl Ord for AgeRatingRatingEnum
impl Ord for AgeRatingRatingEnum
Source§fn cmp(&self, other: &AgeRatingRatingEnum) -> Ordering
fn cmp(&self, other: &AgeRatingRatingEnum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AgeRatingRatingEnum
impl PartialEq for AgeRatingRatingEnum
Source§impl PartialOrd for AgeRatingRatingEnum
impl PartialOrd for AgeRatingRatingEnum
Source§impl TryFrom<i32> for AgeRatingRatingEnum
impl TryFrom<i32> for AgeRatingRatingEnum
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<AgeRatingRatingEnum, DecodeError>
fn try_from(value: i32) -> Result<AgeRatingRatingEnum, DecodeError>
Performs the conversion.
impl Copy for AgeRatingRatingEnum
impl Eq for AgeRatingRatingEnum
impl StructuralPartialEq for AgeRatingRatingEnum
Auto Trait Implementations§
impl Freeze for AgeRatingRatingEnum
impl RefUnwindSafe for AgeRatingRatingEnum
impl Send for AgeRatingRatingEnum
impl Sync for AgeRatingRatingEnum
impl Unpin for AgeRatingRatingEnum
impl UnwindSafe for AgeRatingRatingEnum
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.