Enum google_api_proto::google::ads::googleads::v16::enums::vanity_pharma_text_enum::VanityPharmaText
source · #[repr(i32)]pub enum VanityPharmaText {
Show 14 variants
Unspecified = 0,
Unknown = 1,
PrescriptionTreatmentWebsiteEn = 2,
PrescriptionTreatmentWebsiteEs = 3,
PrescriptionDeviceWebsiteEn = 4,
PrescriptionDeviceWebsiteEs = 5,
MedicalDeviceWebsiteEn = 6,
MedicalDeviceWebsiteEs = 7,
PreventativeTreatmentWebsiteEn = 8,
PreventativeTreatmentWebsiteEs = 9,
PrescriptionContraceptionWebsiteEn = 10,
PrescriptionContraceptionWebsiteEs = 11,
PrescriptionVaccineWebsiteEn = 12,
PrescriptionVaccineWebsiteEs = 13,
}
Expand description
Enum describing possible text.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
PrescriptionTreatmentWebsiteEn = 2
Prescription treatment website with website content in English.
PrescriptionTreatmentWebsiteEs = 3
Prescription treatment website with website content in Spanish (Sitio de tratamientos con receta).
PrescriptionDeviceWebsiteEn = 4
Prescription device website with website content in English.
PrescriptionDeviceWebsiteEs = 5
Prescription device website with website content in Spanish (Sitio de dispositivos con receta).
MedicalDeviceWebsiteEn = 6
Medical device website with website content in English.
MedicalDeviceWebsiteEs = 7
Medical device website with website content in Spanish (Sitio de dispositivos médicos).
PreventativeTreatmentWebsiteEn = 8
Preventative treatment website with website content in English.
PreventativeTreatmentWebsiteEs = 9
Preventative treatment website with website content in Spanish (Sitio de tratamientos preventivos).
PrescriptionContraceptionWebsiteEn = 10
Prescription contraception website with website content in English.
PrescriptionContraceptionWebsiteEs = 11
Prescription contraception website with website content in Spanish (Sitio de anticonceptivos con receta).
PrescriptionVaccineWebsiteEn = 12
Prescription vaccine website with website content in English.
PrescriptionVaccineWebsiteEs = 13
Prescription vaccine website with website content in Spanish (Sitio de vacunas con receta).
Implementations§
source§impl VanityPharmaText
impl VanityPharmaText
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 VanityPharmaText
impl Clone for VanityPharmaText
source§fn clone(&self) -> VanityPharmaText
fn clone(&self) -> VanityPharmaText
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VanityPharmaText
impl Debug for VanityPharmaText
source§impl Default for VanityPharmaText
impl Default for VanityPharmaText
source§fn default() -> VanityPharmaText
fn default() -> VanityPharmaText
source§impl From<VanityPharmaText> for i32
impl From<VanityPharmaText> for i32
source§fn from(value: VanityPharmaText) -> i32
fn from(value: VanityPharmaText) -> i32
source§impl Hash for VanityPharmaText
impl Hash for VanityPharmaText
source§impl Ord for VanityPharmaText
impl Ord for VanityPharmaText
source§fn cmp(&self, other: &VanityPharmaText) -> Ordering
fn cmp(&self, other: &VanityPharmaText) -> 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 VanityPharmaText
impl PartialEq for VanityPharmaText
source§fn eq(&self, other: &VanityPharmaText) -> bool
fn eq(&self, other: &VanityPharmaText) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VanityPharmaText
impl PartialOrd for VanityPharmaText
source§fn partial_cmp(&self, other: &VanityPharmaText) -> Option<Ordering>
fn partial_cmp(&self, other: &VanityPharmaText) -> 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 VanityPharmaText
impl TryFrom<i32> for VanityPharmaText
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<VanityPharmaText, DecodeError>
fn try_from(value: i32) -> Result<VanityPharmaText, DecodeError>
impl Copy for VanityPharmaText
impl Eq for VanityPharmaText
impl StructuralPartialEq for VanityPharmaText
Auto Trait Implementations§
impl Freeze for VanityPharmaText
impl RefUnwindSafe for VanityPharmaText
impl Send for VanityPharmaText
impl Sync for VanityPharmaText
impl Unpin for VanityPharmaText
impl UnwindSafe for VanityPharmaText
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