Struct google_api_proto::google::ads::googleads::v15::resources::FeedItemSet
source · pub struct FeedItemSet {
pub resource_name: String,
pub feed: String,
pub feed_item_set_id: i64,
pub display_name: String,
pub status: i32,
pub dynamic_set_filter: Option<DynamicSetFilter>,
}
Expand description
Represents a set of feed items. The set can be used and shared among certain feed item features. For instance, the set can be referenced within the matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed.
Fields§
§resource_name: String
Immutable. The resource name of the feed item set.
Feed item set resource names have the form:
customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}
feed: String
Immutable. The resource name of the feed containing the feed items in the set. Immutable. Required.
feed_item_set_id: i64
Output only. ID of the set.
display_name: String
Name of the set. Must be unique within the account.
status: i32
Output only. Status of the feed item set. This field is read-only.
dynamic_set_filter: Option<DynamicSetFilter>
Represents a filter on locations in a feed item set. Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed.
Implementations§
source§impl FeedItemSet
impl FeedItemSet
sourcepub fn status(&self) -> FeedItemSetStatus
pub fn status(&self) -> FeedItemSetStatus
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: FeedItemSetStatus)
pub fn set_status(&mut self, value: FeedItemSetStatus)
Sets status
to the provided enum value.
Trait Implementations§
source§impl Clone for FeedItemSet
impl Clone for FeedItemSet
source§fn clone(&self) -> FeedItemSet
fn clone(&self) -> FeedItemSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedItemSet
impl Debug for FeedItemSet
source§impl Default for FeedItemSet
impl Default for FeedItemSet
source§impl Message for FeedItemSet
impl Message for FeedItemSet
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 FeedItemSet
impl PartialEq for FeedItemSet
source§fn eq(&self, other: &FeedItemSet) -> bool
fn eq(&self, other: &FeedItemSet) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeedItemSet
Auto Trait Implementations§
impl Freeze for FeedItemSet
impl RefUnwindSafe for FeedItemSet
impl Send for FeedItemSet
impl Sync for FeedItemSet
impl Unpin for FeedItemSet
impl UnwindSafe for FeedItemSet
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