pub struct PlacesLocationFeedData {
pub oauth_info: Option<OAuthInfo>,
pub email_address: String,
pub business_account_id: String,
pub business_name_filter: String,
pub category_filters: Vec<String>,
pub label_filters: Vec<String>,
}
Expand description
Data used to configure a location feed populated from Business Profile.
Fields§
§oauth_info: Option<OAuthInfo>
Immutable. Required authentication token (from OAuth API) for the email. This field can only be specified in a create request. All its subfields are not selectable.
email_address: String
Email address of a Business Profile or email address of a manager of the Business Profile. Required.
business_account_id: String
Plus page ID of the managed business whose locations should be used. If this field is not set, then all businesses accessible by the user (specified by email_address) are used. This field is mutate-only and is not selectable.
business_name_filter: String
Used to filter Business Profile listings by business name. If business_name_filter is set, only listings with a matching business name are candidates to be sync’d into FeedItems.
category_filters: Vec<String>
Used to filter Business Profile listings by categories. If entries exist in category_filters, only listings that belong to any of the categories are candidates to be sync’d into FeedItems. If no entries exist in category_filters, then all listings are candidates for syncing.
label_filters: Vec<String>
Used to filter Business Profile listings by labels. If entries exist in label_filters, only listings that has any of the labels set are candidates to be synchronized into FeedItems. If no entries exist in label_filters, then all listings are candidates for syncing.
Trait Implementations§
Source§impl Clone for PlacesLocationFeedData
impl Clone for PlacesLocationFeedData
Source§fn clone(&self) -> PlacesLocationFeedData
fn clone(&self) -> PlacesLocationFeedData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PlacesLocationFeedData
impl Debug for PlacesLocationFeedData
Source§impl Default for PlacesLocationFeedData
impl Default for PlacesLocationFeedData
Source§impl Message for PlacesLocationFeedData
impl Message for PlacesLocationFeedData
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 PlacesLocationFeedData
impl PartialEq for PlacesLocationFeedData
impl StructuralPartialEq for PlacesLocationFeedData
Auto Trait Implementations§
impl Freeze for PlacesLocationFeedData
impl RefUnwindSafe for PlacesLocationFeedData
impl Send for PlacesLocationFeedData
impl Sync for PlacesLocationFeedData
impl Unpin for PlacesLocationFeedData
impl UnwindSafe for PlacesLocationFeedData
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