Struct google_content2::Datafeed
source · pub struct Datafeed {
pub kind: Option<String>,
pub content_type: Option<String>,
pub name: Option<String>,
pub content_language: Option<String>,
pub format: Option<DatafeedFormat>,
pub fetch_schedule: Option<DatafeedFetchSchedule>,
pub target_country: Option<i64>,
pub file_name: Option<String>,
pub id: Option<String>,
pub intended_destinations: Option<Vec<String>>,
pub attribute_language: Option<String>,
}Expand description
Datafeed data.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insert datafeeds (request|response)
- custombatch datafeeds (none)
- patch datafeeds (request|response)
- list datafeeds (none)
- delete datafeeds (none)
- get datafeeds (response)
- update datafeeds (request|response)
Fields§
§kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “content#datafeed”.
content_type: Option<String>The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.
name: Option<String>A descriptive name of the data feed.
content_language: Option<String>The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry.
format: Option<DatafeedFormat>Format of the feed file.
fetch_schedule: Option<DatafeedFetchSchedule>Fetch schedule for the feed file.
target_country: Option<i64>The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
file_name: Option<String>The filename of the feed. All feeds must have a unique file name.
id: Option<String>The ID of the data feed.
intended_destinations: Option<Vec<String>>The list of intended destinations (corresponds to checked check boxes in Merchant Center).
attribute_language: Option<String>The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
Trait Implementations§
source§impl Deserialize for Datafeed
impl Deserialize for Datafeed
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
impl RequestValue for Datafeed
impl Resource for Datafeed
impl ResponseResult for Datafeed
Auto Trait Implementations§
impl Freeze for Datafeed
impl RefUnwindSafe for Datafeed
impl Send for Datafeed
impl Sync for Datafeed
impl Unpin for Datafeed
impl UnwindSafe for Datafeed
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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