#[non_exhaustive]pub struct CompletionStats {
pub successful_count: i64,
pub failed_count: i64,
pub incomplete_count: i64,
pub successful_forecast_point_count: i64,
/* private fields */
}job-service only.Expand description
Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.successful_count: i64Output only. The number of entities that had been processed successfully.
failed_count: i64Output only. The number of entities for which any error was encountered.
incomplete_count: i64Output only. In cases when enough errors are encountered a job, pipeline, or operation may be failed as a whole. Below is the number of entities for which the processing had not been finished (either in successful or failed state). Set to -1 if the number is unknown (for example, the operation failed before the total entity number could be collected).
successful_forecast_point_count: i64Output only. The number of the successful forecast points that are generated by the forecasting model. This is ONLY used by the forecasting batch prediction.
Implementations§
Source§impl CompletionStats
impl CompletionStats
pub fn new() -> Self
Sourcepub fn set_successful_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_successful_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of successful_count.
§Example
let x = CompletionStats::new().set_successful_count(42);Sourcepub fn set_failed_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_failed_count<T: Into<i64>>(self, v: T) -> Self
Sourcepub fn set_incomplete_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_incomplete_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of incomplete_count.
§Example
let x = CompletionStats::new().set_incomplete_count(42);Sourcepub fn set_successful_forecast_point_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_successful_forecast_point_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of successful_forecast_point_count.
§Example
let x = CompletionStats::new().set_successful_forecast_point_count(42);Trait Implementations§
Source§impl Clone for CompletionStats
impl Clone for CompletionStats
Source§fn clone(&self) -> CompletionStats
fn clone(&self) -> CompletionStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more