#[repr(i32)]pub enum AgeRatingContentDescriptionCategoryEnum {
Show 86 variants
AgeratingcontentdescriptionCategoryNull = 0,
EsrbAlcoholReference = 1,
EsrbAnimatedBlood = 2,
EsrbBlood = 3,
EsrbBloodAndGore = 4,
EsrbCartoonViolence = 5,
EsrbComicMischief = 6,
EsrbCrudeHumor = 7,
EsrbDrugReference = 8,
EsrbFantasyViolence = 9,
EsrbIntenseViolence = 10,
EsrbLanguage = 11,
EsrbLyrics = 12,
EsrbMatureHumor = 13,
EsrbNudity = 14,
EsrbPartialNudity = 15,
EsrbRealGambling = 16,
EsrbSexualContent = 17,
EsrbSexualThemes = 18,
EsrbSexualViolence = 19,
EsrbSimulatedGambling = 20,
EsrbStrongLanguage = 21,
EsrbStrongLyrics = 22,
EsrbStrongSexualContent = 23,
EsrbSuggestiveThemes = 24,
EsrbTobaccoReference = 25,
EsrbUseOfAlcohol = 26,
EsrbUseOfDrugs = 27,
EsrbUseOfTobacco = 28,
EsrbViolence = 29,
EsrbViolentReferences = 30,
EsrbAnimatedViolence = 31,
EsrbMildLanguage = 32,
EsrbMildViolence = 33,
EsrbUseOfDrugsAndAlcohol = 34,
EsrbDrugAndAlcoholReference = 35,
EsrbMildSuggestiveThemes = 36,
EsrbMildCartoonViolence = 37,
EsrbMildBlood = 38,
EsrbRealisticBloodAndGore = 39,
EsrbRealisticViolence = 40,
EsrbAlcoholAndTobaccoReference = 41,
EsrbMatureSexualThemes = 42,
EsrbMildAnimatedViolence = 43,
EsrbMildSexualThemes = 44,
EsrbUseOfAlcoholAndTobacco = 45,
EsrbAnimatedBloodAndGore = 46,
EsrbMildFantasyViolence = 47,
EsrbMildLyrics = 48,
EsrbRealisticBlood = 49,
PegiViolence = 50,
PegiSex = 51,
PegiDrugs = 52,
PegiFear = 53,
PegiDiscrimination = 54,
PegiBadLanguage = 55,
PegiGambling = 56,
PegiOnlineGameplay = 57,
PegiInGamePurchases = 58,
CeroLove = 59,
CeroSexualContent = 60,
CeroViolence = 61,
CeroHorror = 62,
CeroDrinkingSmoking = 63,
CeroGambling = 64,
CeroCrime = 65,
CeroControlledSubstances = 66,
CeroLanguagesAndOthers = 67,
GracSexuality = 68,
GracViolence = 69,
GracFearHorrorThreatening = 70,
GracLanguage = 71,
GracAlcoholTobaccoDrug = 72,
GracCrimeAntiSocial = 73,
GracGambling = 74,
ClassIndViolencia = 75,
ClassIndViolenciaExtrema = 76,
ClassIndConteudoSexual = 77,
ClassIndNudez = 78,
ClassIndSexo = 79,
ClassIndSexoExplicito = 80,
ClassIndDrogas = 81,
ClassIndDrogasLicitas = 82,
ClassIndDrogasIlicitas = 83,
ClassIndLinguagemImpropria = 84,
ClassIndAtosCriminosos = 85,
}
Variants§
AgeratingcontentdescriptionCategoryNull = 0
EsrbAlcoholReference = 1
EsrbAnimatedBlood = 2
EsrbBlood = 3
EsrbBloodAndGore = 4
EsrbCartoonViolence = 5
EsrbComicMischief = 6
EsrbCrudeHumor = 7
EsrbDrugReference = 8
EsrbFantasyViolence = 9
EsrbIntenseViolence = 10
EsrbLanguage = 11
EsrbLyrics = 12
EsrbMatureHumor = 13
EsrbNudity = 14
EsrbPartialNudity = 15
EsrbRealGambling = 16
EsrbSexualContent = 17
EsrbSexualThemes = 18
EsrbSexualViolence = 19
EsrbSimulatedGambling = 20
EsrbStrongLanguage = 21
EsrbStrongLyrics = 22
EsrbStrongSexualContent = 23
EsrbSuggestiveThemes = 24
EsrbTobaccoReference = 25
EsrbUseOfAlcohol = 26
EsrbUseOfDrugs = 27
EsrbUseOfTobacco = 28
EsrbViolence = 29
EsrbViolentReferences = 30
EsrbAnimatedViolence = 31
EsrbMildLanguage = 32
EsrbMildViolence = 33
EsrbUseOfDrugsAndAlcohol = 34
EsrbDrugAndAlcoholReference = 35
EsrbMildSuggestiveThemes = 36
EsrbMildCartoonViolence = 37
EsrbMildBlood = 38
EsrbRealisticBloodAndGore = 39
EsrbRealisticViolence = 40
EsrbAlcoholAndTobaccoReference = 41
EsrbMatureSexualThemes = 42
EsrbMildAnimatedViolence = 43
EsrbMildSexualThemes = 44
EsrbUseOfAlcoholAndTobacco = 45
EsrbAnimatedBloodAndGore = 46
EsrbMildFantasyViolence = 47
EsrbMildLyrics = 48
EsrbRealisticBlood = 49
PegiViolence = 50
PegiSex = 51
PegiDrugs = 52
PegiFear = 53
PegiDiscrimination = 54
PegiBadLanguage = 55
PegiGambling = 56
PegiOnlineGameplay = 57
PegiInGamePurchases = 58
CeroLove = 59
CeroSexualContent = 60
CeroViolence = 61
CeroHorror = 62
CeroDrinkingSmoking = 63
CeroGambling = 64
CeroCrime = 65
CeroControlledSubstances = 66
CeroLanguagesAndOthers = 67
GracSexuality = 68
GracViolence = 69
GracFearHorrorThreatening = 70
GracLanguage = 71
GracAlcoholTobaccoDrug = 72
GracCrimeAntiSocial = 73
GracGambling = 74
ClassIndViolencia = 75
ClassIndViolenciaExtrema = 76
ClassIndConteudoSexual = 77
ClassIndNudez = 78
ClassIndSexo = 79
ClassIndSexoExplicito = 80
ClassIndDrogas = 81
ClassIndDrogasLicitas = 82
ClassIndDrogasIlicitas = 83
ClassIndLinguagemImpropria = 84
ClassIndAtosCriminosos = 85
Implementations§
Source§impl AgeRatingContentDescriptionCategoryEnum
impl AgeRatingContentDescriptionCategoryEnum
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of AgeRatingContentDescriptionCategoryEnum
.
Sourcepub fn from_i32(value: i32) -> Option<AgeRatingContentDescriptionCategoryEnum>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AgeRatingContentDescriptionCategoryEnum>
Converts an i32
to a AgeRatingContentDescriptionCategoryEnum
, or None
if value
is not a valid variant.
Source§impl AgeRatingContentDescriptionCategoryEnum
impl AgeRatingContentDescriptionCategoryEnum
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 AgeRatingContentDescriptionCategoryEnum
impl Clone for AgeRatingContentDescriptionCategoryEnum
Source§fn clone(&self) -> AgeRatingContentDescriptionCategoryEnum
fn clone(&self) -> AgeRatingContentDescriptionCategoryEnum
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 Default for AgeRatingContentDescriptionCategoryEnum
impl Default for AgeRatingContentDescriptionCategoryEnum
Source§fn default() -> AgeRatingContentDescriptionCategoryEnum
fn default() -> AgeRatingContentDescriptionCategoryEnum
Returns the “default value” for a type. Read more
Source§impl From<AgeRatingContentDescriptionCategoryEnum> for i32
impl From<AgeRatingContentDescriptionCategoryEnum> for i32
Source§fn from(value: AgeRatingContentDescriptionCategoryEnum) -> i32
fn from(value: AgeRatingContentDescriptionCategoryEnum) -> i32
Converts to this type from the input type.
Source§impl Ord for AgeRatingContentDescriptionCategoryEnum
impl Ord for AgeRatingContentDescriptionCategoryEnum
Source§fn cmp(&self, other: &AgeRatingContentDescriptionCategoryEnum) -> Ordering
fn cmp(&self, other: &AgeRatingContentDescriptionCategoryEnum) -> 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 AgeRatingContentDescriptionCategoryEnum
impl PartialEq for AgeRatingContentDescriptionCategoryEnum
Source§fn eq(&self, other: &AgeRatingContentDescriptionCategoryEnum) -> bool
fn eq(&self, other: &AgeRatingContentDescriptionCategoryEnum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for AgeRatingContentDescriptionCategoryEnum
impl PartialOrd for AgeRatingContentDescriptionCategoryEnum
Source§impl TryFrom<i32> for AgeRatingContentDescriptionCategoryEnum
impl TryFrom<i32> for AgeRatingContentDescriptionCategoryEnum
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(
value: i32,
) -> Result<AgeRatingContentDescriptionCategoryEnum, DecodeError>
fn try_from( value: i32, ) -> Result<AgeRatingContentDescriptionCategoryEnum, DecodeError>
Performs the conversion.
impl Copy for AgeRatingContentDescriptionCategoryEnum
impl Eq for AgeRatingContentDescriptionCategoryEnum
impl StructuralPartialEq for AgeRatingContentDescriptionCategoryEnum
Auto Trait Implementations§
impl Freeze for AgeRatingContentDescriptionCategoryEnum
impl RefUnwindSafe for AgeRatingContentDescriptionCategoryEnum
impl Send for AgeRatingContentDescriptionCategoryEnum
impl Sync for AgeRatingContentDescriptionCategoryEnum
impl Unpin for AgeRatingContentDescriptionCategoryEnum
impl UnwindSafe for AgeRatingContentDescriptionCategoryEnum
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.