Enum google_api_proto::google::ads::googleads::v14::enums::content_label_type_enum::ContentLabelType
source · #[repr(i32)]pub enum ContentLabelType {
Show 17 variants
Unspecified = 0,
Unknown = 1,
SexuallySuggestive = 2,
BelowTheFold = 3,
ParkedDomain = 4,
Juvenile = 6,
Profanity = 7,
Tragedy = 8,
Video = 9,
VideoRatingDvG = 10,
VideoRatingDvPg = 11,
VideoRatingDvT = 12,
VideoRatingDvMa = 13,
VideoNotYetRated = 14,
EmbeddedVideo = 15,
LiveStreamingVideo = 16,
SocialIssues = 17,
}
Expand description
Enum listing the content label types supported by ContentLabel criterion.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
SexuallySuggestive = 2
Sexually suggestive content.
BelowTheFold = 3
Below the fold placement.
ParkedDomain = 4
Parked domain.
Juvenile = 6
Juvenile, gross & bizarre content.
Profanity = 7
Profanity & rough language.
Tragedy = 8
Death & tragedy.
Video = 9
Video.
VideoRatingDvG = 10
Content rating: G.
VideoRatingDvPg = 11
Content rating: PG.
VideoRatingDvT = 12
Content rating: T.
VideoRatingDvMa = 13
Content rating: MA.
VideoNotYetRated = 14
Content rating: not yet rated.
EmbeddedVideo = 15
Embedded video.
LiveStreamingVideo = 16
Live streaming video.
SocialIssues = 17
Sensitive social issues.
Implementations§
source§impl ContentLabelType
impl ContentLabelType
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 ContentLabelType
impl Clone for ContentLabelType
source§fn clone(&self) -> ContentLabelType
fn clone(&self) -> ContentLabelType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContentLabelType
impl Debug for ContentLabelType
source§impl Default for ContentLabelType
impl Default for ContentLabelType
source§fn default() -> ContentLabelType
fn default() -> ContentLabelType
source§impl From<ContentLabelType> for i32
impl From<ContentLabelType> for i32
source§fn from(value: ContentLabelType) -> i32
fn from(value: ContentLabelType) -> i32
source§impl Hash for ContentLabelType
impl Hash for ContentLabelType
source§impl Ord for ContentLabelType
impl Ord for ContentLabelType
source§fn cmp(&self, other: &ContentLabelType) -> Ordering
fn cmp(&self, other: &ContentLabelType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ContentLabelType
impl PartialEq for ContentLabelType
source§fn eq(&self, other: &ContentLabelType) -> bool
fn eq(&self, other: &ContentLabelType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContentLabelType
impl PartialOrd for ContentLabelType
source§fn partial_cmp(&self, other: &ContentLabelType) -> Option<Ordering>
fn partial_cmp(&self, other: &ContentLabelType) -> Option<Ordering>
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 ContentLabelType
impl TryFrom<i32> for ContentLabelType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ContentLabelType, DecodeError>
fn try_from(value: i32) -> Result<ContentLabelType, DecodeError>
impl Copy for ContentLabelType
impl Eq for ContentLabelType
impl StructuralPartialEq for ContentLabelType
Auto Trait Implementations§
impl Freeze for ContentLabelType
impl RefUnwindSafe for ContentLabelType
impl Send for ContentLabelType
impl Sync for ContentLabelType
impl Unpin for ContentLabelType
impl UnwindSafe for ContentLabelType
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