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<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 FeedItemSet
impl PartialEq for FeedItemSet
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
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