Enum gapi_grpc::google::ads::googleads::v6::common::listing_dimension_info::Dimension [−][src]
pub enum Dimension { HotelId(HotelIdInfo), HotelClass(HotelClassInfo), HotelCountryRegion(HotelCountryRegionInfo), HotelState(HotelStateInfo), HotelCity(HotelCityInfo), ProductBiddingCategory(ProductBiddingCategoryInfo), ProductBrand(ProductBrandInfo), ProductChannel(ProductChannelInfo), ProductChannelExclusivity(ProductChannelExclusivityInfo), ProductCondition(ProductConditionInfo), ProductCustomAttribute(ProductCustomAttributeInfo), ProductItemId(ProductItemIdInfo), ProductType(ProductTypeInfo), UnknownListingDimension(UnknownListingDimensionInfo), }
Dimension of one of the types below is always present.
Variants
HotelId(HotelIdInfo)
Advertiser-specific hotel ID.
HotelClass(HotelClassInfo)
Class of the hotel as a number of stars 1 to 5.
HotelCountryRegion(HotelCountryRegionInfo)
Country or Region the hotel is located in.
HotelState(HotelStateInfo)
State the hotel is located in.
HotelCity(HotelCityInfo)
City the hotel is located in.
ProductBiddingCategory(ProductBiddingCategoryInfo)
Bidding category of a product offer.
ProductBrand(ProductBrandInfo)
Brand of a product offer.
ProductChannel(ProductChannelInfo)
Locality of a product offer.
ProductChannelExclusivity(ProductChannelExclusivityInfo)
Availability of a product offer.
ProductCondition(ProductConditionInfo)
Condition of a product offer.
ProductCustomAttribute(ProductCustomAttributeInfo)
Custom attribute of a product offer.
ProductItemId(ProductItemIdInfo)
Item id of a product offer.
ProductType(ProductTypeInfo)
Type of a product offer.
UnknownListingDimension(UnknownListingDimensionInfo)
Unknown dimension. Set when no other listing dimension is set.
Implementations
impl Dimension
[src][−]
pub fn encode<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
pub fn merge<B>(
field: &mut Option<Dimension>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
field: &mut Option<Dimension>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
Trait Implementations
impl Clone for Dimension
[src][+]
impl Debug for Dimension
[src][+]
impl PartialEq<Dimension> for Dimension
[src][+]
impl StructuralPartialEq for Dimension
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnwindSafe for Dimension
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,