Enum google_api_proto::google::ads::googleads::v14::enums::asset_type_enum::AssetType
source · #[repr(i32)]pub enum AssetType {
Show 29 variants
Unspecified = 0,
Unknown = 1,
YoutubeVideo = 2,
MediaBundle = 3,
Image = 4,
Text = 5,
LeadForm = 6,
BookOnGoogle = 7,
Promotion = 8,
Callout = 9,
StructuredSnippet = 10,
Sitelink = 11,
PageFeed = 12,
DynamicEducation = 13,
MobileApp = 14,
HotelCallout = 15,
Call = 16,
Price = 17,
CallToAction = 18,
DynamicRealEstate = 19,
DynamicCustom = 20,
DynamicHotelsAndRentals = 21,
DynamicFlights = 22,
DiscoveryCarouselCard = 23,
DynamicTravel = 24,
DynamicLocal = 25,
DynamicJobs = 26,
Location = 27,
HotelProperty = 28,
}
Expand description
Enum describing possible types of asset.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
YoutubeVideo = 2
YouTube video asset.
MediaBundle = 3
Media bundle asset.
Image = 4
Image asset.
Text = 5
Text asset.
LeadForm = 6
Lead form asset.
BookOnGoogle = 7
Book on Google asset.
Promotion = 8
Promotion asset.
Callout = 9
Callout asset.
StructuredSnippet = 10
Structured Snippet asset.
Sitelink = 11
Sitelink asset.
PageFeed = 12
Page Feed asset.
DynamicEducation = 13
Dynamic Education asset.
MobileApp = 14
Mobile app asset.
HotelCallout = 15
Hotel callout asset.
Call = 16
Call asset.
Price = 17
Price asset.
CallToAction = 18
Call to action asset.
DynamicRealEstate = 19
Dynamic real estate asset.
DynamicCustom = 20
Dynamic custom asset.
DynamicHotelsAndRentals = 21
Dynamic hotels and rentals asset.
DynamicFlights = 22
Dynamic flights asset.
DiscoveryCarouselCard = 23
Discovery Carousel Card asset.
DynamicTravel = 24
Dynamic travel asset.
DynamicLocal = 25
Dynamic local asset.
DynamicJobs = 26
Dynamic jobs asset.
Location = 27
Location asset.
HotelProperty = 28
Hotel property asset.
Implementations§
source§impl AssetType
impl AssetType
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 AssetType
impl Ord for AssetType
source§impl PartialEq for AssetType
impl PartialEq for AssetType
source§impl PartialOrd for AssetType
impl PartialOrd for AssetType
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 AssetType
impl TryFrom<i32> for AssetType
§type Error = DecodeError
type Error = DecodeError
impl Copy for AssetType
impl Eq for AssetType
impl StructuralPartialEq for AssetType
Auto Trait Implementations§
impl Freeze for AssetType
impl RefUnwindSafe for AssetType
impl Send for AssetType
impl Sync for AssetType
impl Unpin for AssetType
impl UnwindSafe for AssetType
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