Enum google_api_proto::google::ads::googleads::v14::enums::real_estate_placeholder_field_enum::RealEstatePlaceholderField
source · #[repr(i32)]pub enum RealEstatePlaceholderField {
Show 20 variants
Unspecified = 0,
Unknown = 1,
ListingId = 2,
ListingName = 3,
CityName = 4,
Description = 5,
Address = 6,
Price = 7,
FormattedPrice = 8,
ImageUrl = 9,
PropertyType = 10,
ListingType = 11,
ContextualKeywords = 12,
FinalUrls = 13,
FinalMobileUrls = 14,
TrackingUrl = 15,
AndroidAppLink = 16,
SimilarListingIds = 17,
IosAppLink = 18,
IosAppStoreId = 19,
}
Expand description
Possible values for Real Estate placeholder fields.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
ListingId = 2
Data Type: STRING. Unique ID.
ListingName = 3
Data Type: STRING. Main headline with listing name to be shown in dynamic ad.
CityName = 4
Data Type: STRING. City name to be shown in dynamic ad.
Description = 5
Data Type: STRING. Description of listing to be shown in dynamic ad.
Address = 6
Data Type: STRING. Complete listing address, including postal code.
Price = 7
Data Type: STRING. Price to be shown in the ad. Example: “100.00 USD”
FormattedPrice = 8
Data Type: STRING. Formatted price to be shown in the ad. Example: “Starting at $100.00 USD”, “$80 - $100”
ImageUrl = 9
Data Type: URL. Image to be displayed in the ad.
PropertyType = 10
Data Type: STRING. Type of property (house, condo, apartment, etc.) used to group like items together for recommendation engine.
ListingType = 11
Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) used to group like items together for recommendation engine.
ContextualKeywords = 12
Data Type: STRING_LIST. Keywords used for product retrieval.
FinalUrls = 13
Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded URLs; the more specific the better (for example, the individual URL of a specific listing and its location).
FinalMobileUrls = 14
Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.
TrackingUrl = 15
Data Type: URL. Tracking template for the ad when using Upgraded URLs.
AndroidAppLink = 16
Data Type: STRING. Android app link. Must be formatted as: android-app://{package_id}/{scheme}/{host_path}. The components are defined as follows: package_id: app ID as specified in Google Play. scheme: the scheme to pass to the application. Can be HTTP, or a custom scheme. host_path: identifies the specific content within your application.
SimilarListingIds = 17
Data Type: STRING_LIST. List of recommended listing IDs to show together with this item.
IosAppLink = 18
Data Type: STRING. iOS app link.
IosAppStoreId = 19
Data Type: INT64. iOS app store ID.
Implementations§
source§impl RealEstatePlaceholderField
impl RealEstatePlaceholderField
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of RealEstatePlaceholderField
.
sourcepub fn from_i32(value: i32) -> Option<RealEstatePlaceholderField>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<RealEstatePlaceholderField>
Converts an i32
to a RealEstatePlaceholderField
, or None
if value
is not a valid variant.
source§impl RealEstatePlaceholderField
impl RealEstatePlaceholderField
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 RealEstatePlaceholderField
impl Clone for RealEstatePlaceholderField
source§fn clone(&self) -> RealEstatePlaceholderField
fn clone(&self) -> RealEstatePlaceholderField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RealEstatePlaceholderField
impl Debug for RealEstatePlaceholderField
source§impl Default for RealEstatePlaceholderField
impl Default for RealEstatePlaceholderField
source§fn default() -> RealEstatePlaceholderField
fn default() -> RealEstatePlaceholderField
source§impl From<RealEstatePlaceholderField> for i32
impl From<RealEstatePlaceholderField> for i32
source§fn from(value: RealEstatePlaceholderField) -> i32
fn from(value: RealEstatePlaceholderField) -> i32
source§impl Hash for RealEstatePlaceholderField
impl Hash for RealEstatePlaceholderField
source§impl Ord for RealEstatePlaceholderField
impl Ord for RealEstatePlaceholderField
source§fn cmp(&self, other: &RealEstatePlaceholderField) -> Ordering
fn cmp(&self, other: &RealEstatePlaceholderField) -> 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 RealEstatePlaceholderField
impl PartialEq for RealEstatePlaceholderField
source§fn eq(&self, other: &RealEstatePlaceholderField) -> bool
fn eq(&self, other: &RealEstatePlaceholderField) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RealEstatePlaceholderField
impl PartialOrd for RealEstatePlaceholderField
source§fn partial_cmp(&self, other: &RealEstatePlaceholderField) -> Option<Ordering>
fn partial_cmp(&self, other: &RealEstatePlaceholderField) -> 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 RealEstatePlaceholderField
impl TryFrom<i32> for RealEstatePlaceholderField
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<RealEstatePlaceholderField, DecodeError>
fn try_from(value: i32) -> Result<RealEstatePlaceholderField, DecodeError>
impl Copy for RealEstatePlaceholderField
impl Eq for RealEstatePlaceholderField
impl StructuralPartialEq for RealEstatePlaceholderField
Auto Trait Implementations§
impl Freeze for RealEstatePlaceholderField
impl RefUnwindSafe for RealEstatePlaceholderField
impl Send for RealEstatePlaceholderField
impl Sync for RealEstatePlaceholderField
impl Unpin for RealEstatePlaceholderField
impl UnwindSafe for RealEstatePlaceholderField
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