Struct google_api_proto::google::ads::searchads360::v0::common::LocationGroupInfo
source · pub struct LocationGroupInfo {
pub geo_target_constants: Vec<String>,
pub radius: Option<i64>,
pub radius_units: i32,
pub feed_item_sets: Vec<String>,
}
Expand description
A radius around a list of locations specified through a feed.
Fields§
§geo_target_constants: Vec<String>
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed.
radius: Option<i64>
Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.
radius_units: i32
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets. This is required and must be set in CREATE operations.
feed_item_sets: Vec<String>
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations.
Implementations§
source§impl LocationGroupInfo
impl LocationGroupInfo
sourcepub fn radius_units(&self) -> LocationGroupRadiusUnits
pub fn radius_units(&self) -> LocationGroupRadiusUnits
Returns the enum value of radius_units
, or the default if the field is set to an invalid enum value.
sourcepub fn set_radius_units(&mut self, value: LocationGroupRadiusUnits)
pub fn set_radius_units(&mut self, value: LocationGroupRadiusUnits)
Sets radius_units
to the provided enum value.
Trait Implementations§
source§impl Clone for LocationGroupInfo
impl Clone for LocationGroupInfo
source§fn clone(&self) -> LocationGroupInfo
fn clone(&self) -> LocationGroupInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationGroupInfo
impl Debug for LocationGroupInfo
source§impl Default for LocationGroupInfo
impl Default for LocationGroupInfo
source§impl Message for LocationGroupInfo
impl Message for LocationGroupInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for LocationGroupInfo
impl PartialEq for LocationGroupInfo
source§fn eq(&self, other: &LocationGroupInfo) -> bool
fn eq(&self, other: &LocationGroupInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationGroupInfo
Auto Trait Implementations§
impl Freeze for LocationGroupInfo
impl RefUnwindSafe for LocationGroupInfo
impl Send for LocationGroupInfo
impl Sync for LocationGroupInfo
impl Unpin for LocationGroupInfo
impl UnwindSafe for LocationGroupInfo
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<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