pub struct AdGroupFeed {
pub resource_name: String,
pub feed: String,
pub ad_group: String,
pub placeholder_types: Vec<i32>,
pub matching_function: Option<MatchingFunction>,
pub status: i32,
}
Expand description
An ad group feed.
Fields§
§resource_name: String
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form:
`customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
feed: String
Immutable. The feed being linked to the ad group.
ad_group: String
Immutable. The ad group being linked to the feed.
placeholder_types: Vec<i32>
Indicates which placeholder types the feed may populate under the connected ad group. Required.
matching_function: Option<MatchingFunction>
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
status: i32
Output only. Status of the ad group feed. This field is read-only.
Implementations§
Source§impl AdGroupFeed
impl AdGroupFeed
Sourcepub fn placeholder_types(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<PlaceholderType>>
pub fn placeholder_types( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<PlaceholderType>>
Returns an iterator which yields the valid enum values contained in placeholder_types
.
Sourcepub fn push_placeholder_types(&mut self, value: PlaceholderType)
pub fn push_placeholder_types(&mut self, value: PlaceholderType)
Appends the provided enum value to placeholder_types
.
Sourcepub fn status(&self) -> FeedLinkStatus
pub fn status(&self) -> FeedLinkStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: FeedLinkStatus)
pub fn set_status(&mut self, value: FeedLinkStatus)
Sets status
to the provided enum value.
Trait Implementations§
Source§impl Clone for AdGroupFeed
impl Clone for AdGroupFeed
Source§fn clone(&self) -> AdGroupFeed
fn clone(&self) -> AdGroupFeed
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdGroupFeed
impl Debug for AdGroupFeed
Source§impl Default for AdGroupFeed
impl Default for AdGroupFeed
Source§impl Message for AdGroupFeed
impl Message for AdGroupFeed
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for AdGroupFeed
impl PartialEq for AdGroupFeed
impl StructuralPartialEq for AdGroupFeed
Auto Trait Implementations§
impl Freeze for AdGroupFeed
impl RefUnwindSafe for AdGroupFeed
impl Send for AdGroupFeed
impl Sync for AdGroupFeed
impl Unpin for AdGroupFeed
impl UnwindSafe for AdGroupFeed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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