#[repr(i32)]pub enum Category {
Show 21 variants
Unspecified = 0,
BusinessAndFinance = 2,
EducationAndReference = 3,
FoodAndDrink = 4,
GamesAndTrivia = 5,
HealthAndFitness = 6,
KidsAndFamily = 20,
Lifestyle = 7,
Local = 8,
MoviesAndTv = 9,
MusicAndAudio = 10,
News = 1,
NoveltyAndHumor = 11,
Productivity = 12,
Shopping = 13,
Social = 14,
Sports = 15,
TravelAndTransportation = 16,
Utilities = 17,
Weather = 18,
HomeControl = 19,
}
Expand description
The category choices for an Actions project.
Variants§
Unspecified = 0
Unknown / Unspecified.
BusinessAndFinance = 2
Business and Finance category.
EducationAndReference = 3
Education and Reference category.
FoodAndDrink = 4
Food and Drink category.
GamesAndTrivia = 5
Games and Trivia category.
HealthAndFitness = 6
Health and Fitness category.
KidsAndFamily = 20
Kids and Family category.
Lifestyle = 7
Lifestyle category.
Local = 8
Local category.
MoviesAndTv = 9
Movies and TV category.
MusicAndAudio = 10
Music and Audio category.
News = 1
News category,
NoveltyAndHumor = 11
Novelty and Humor category.
Productivity = 12
Productivity category.
Shopping = 13
Shopping category.
Social = 14
Social category.
Sports = 15
Sports category.
TravelAndTransportation = 16
Travel and Transportation category.
Utilities = 17
Utilities category.
Weather = 18
Weather category.
HomeControl = 19
Home Control category.
Implementations§
source§impl Category
impl Category
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 Ord for Category
impl Ord for Category
source§impl PartialEq for Category
impl PartialEq for Category
source§impl PartialOrd for Category
impl PartialOrd for Category
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Category
impl TryFrom<i32> for Category
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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
§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
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request