Enum gapi_grpc::google::ads::googleads::v4::enums::location_placeholder_field_enum::LocationPlaceholderField[][src]

[]
#[repr(i32)]pub enum LocationPlaceholderField {
    Unspecified,
    Unknown,
    BusinessName,
    AddressLine1,
    AddressLine2,
    City,
    Province,
    PostalCode,
    CountryCode,
    PhoneNumber,
}
[]

Possible values for Location placeholder fields.

Variants

Unspecified
[]

Not specified.

Unknown
[]

Used for return value only. Represents value unknown in this version.

BusinessName
[]

Data Type: STRING. The name of the business.

AddressLine1
[]

Data Type: STRING. Line 1 of the business address.

AddressLine2
[]

Data Type: STRING. Line 2 of the business address.

City
[]

Data Type: STRING. City of the business address.

Province
[]

Data Type: STRING. Province of the business address.

PostalCode
[]

Data Type: STRING. Postal code of the business address.

CountryCode
[]

Data Type: STRING. Country code of the business address.

PhoneNumber
[]

Data Type: STRING. Phone number of the business.

Implementations

impl LocationPlaceholderField[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of LocationPlaceholderField.

pub fn from_i32(value: i32) -> Option<LocationPlaceholderField>[src][]

Converts an i32 to a LocationPlaceholderField, or None if value is not a valid variant.

Trait Implementations

impl Clone for LocationPlaceholderField[src][+]

impl Copy for LocationPlaceholderField[src]

impl Debug for LocationPlaceholderField[src][+]

impl Default for LocationPlaceholderField[src][+]

impl Eq for LocationPlaceholderField[src]

impl From<LocationPlaceholderField> for i32[src][+]

impl Hash for LocationPlaceholderField[src][+]

impl Ord for LocationPlaceholderField[src][+]

impl PartialEq<LocationPlaceholderField> for LocationPlaceholderField[src][+]

impl PartialOrd<LocationPlaceholderField> for LocationPlaceholderField[src][+]

impl StructuralEq for LocationPlaceholderField[src]

impl StructuralPartialEq for LocationPlaceholderField[src]

Auto Trait Implementations

impl RefUnwindSafe for LocationPlaceholderField

impl Send for LocationPlaceholderField

impl Sync for LocationPlaceholderField

impl Unpin for LocationPlaceholderField

impl UnwindSafe for LocationPlaceholderField

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]