pub struct DatafeedStatus {
pub country: Option<String>,
pub datafeed_id: Option<u64>,
pub errors: Option<Vec<DatafeedStatusError>>,
pub items_total: Option<u64>,
pub items_valid: Option<u64>,
pub kind: Option<String>,
pub language: Option<String>,
pub last_upload_date: Option<String>,
pub processing_status: Option<String>,
pub warnings: Option<Vec<DatafeedStatusError>>,
}Expand description
The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
§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).
- get datafeedstatuses (response)
Fields§
§country: Option<String>The country for which the status is reported, represented as a CLDR territory code.
datafeed_id: Option<u64>The ID of the feed for which the status is reported.
errors: Option<Vec<DatafeedStatusError>>The list of errors occurring in the feed.
items_total: Option<u64>The number of items in the feed that were processed.
items_valid: Option<u64>The number of items in the feed that were valid.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “content#datafeedStatus”
language: Option<String>The two-letter ISO 639-1 language for which the status is reported.
last_upload_date: Option<String>The last date at which the feed was uploaded.
processing_status: Option<String>The processing status of the feed. Acceptable values are: - “"failure": The feed could not be processed or all items had errors.” - “in progress”: The feed is being processed. - “none”: The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - “success”: The feed was processed successfully, though some items might have had errors.
warnings: Option<Vec<DatafeedStatusError>>The list of errors occurring in the feed.
Trait Implementations§
Source§impl Clone for DatafeedStatus
impl Clone for DatafeedStatus
Source§fn clone(&self) -> DatafeedStatus
fn clone(&self) -> DatafeedStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DatafeedStatus
impl Debug for DatafeedStatus
Source§impl Default for DatafeedStatus
impl Default for DatafeedStatus
Source§fn default() -> DatafeedStatus
fn default() -> DatafeedStatus
Source§impl<'de> Deserialize<'de> for DatafeedStatus
impl<'de> Deserialize<'de> for DatafeedStatus
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>,
Source§impl Serialize for DatafeedStatus
impl Serialize for DatafeedStatus
impl ResponseResult for DatafeedStatus
Auto Trait Implementations§
impl Freeze for DatafeedStatus
impl RefUnwindSafe for DatafeedStatus
impl Send for DatafeedStatus
impl Sync for DatafeedStatus
impl Unpin for DatafeedStatus
impl UnwindSafe for DatafeedStatus
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> 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