Struct google_content2::DatafeedTarget
source · pub struct DatafeedTarget {
pub country: Option<String>,
pub excluded_destinations: Option<Vec<String>>,
pub language: Option<String>,
pub included_destinations: Option<Vec<String>>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country: Option<String>The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
excluded_destinations: Option<Vec<String>>The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
language: Option<String>The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country.
included_destinations: Option<Vec<String>>The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in the excluded_destination field.
Trait Implementations§
source§impl Clone for DatafeedTarget
impl Clone for DatafeedTarget
source§fn clone(&self) -> DatafeedTarget
fn clone(&self) -> DatafeedTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DatafeedTarget
impl Debug for DatafeedTarget
source§impl Default for DatafeedTarget
impl Default for DatafeedTarget
source§fn default() -> DatafeedTarget
fn default() -> DatafeedTarget
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DatafeedTarget
impl<'de> Deserialize<'de> for DatafeedTarget
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DatafeedTarget
impl Serialize for DatafeedTarget
impl Part for DatafeedTarget
Auto Trait Implementations§
impl Freeze for DatafeedTarget
impl RefUnwindSafe for DatafeedTarget
impl Send for DatafeedTarget
impl Sync for DatafeedTarget
impl Unpin for DatafeedTarget
impl UnwindSafe for DatafeedTarget
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more