#[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
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CompletionStats
impl Debug for CompletionStats
Source§impl Default for CompletionStats
impl Default for CompletionStats
Source§fn default() -> CompletionStats
fn default() -> CompletionStats
Source§impl Message for CompletionStats
impl Message for CompletionStats
Source§impl PartialEq for CompletionStats
impl PartialEq for CompletionStats
impl StructuralPartialEq for CompletionStats
Auto Trait Implementations§
impl Freeze for CompletionStats
impl RefUnwindSafe for CompletionStats
impl Send for CompletionStats
impl Sync for CompletionStats
impl Unpin for CompletionStats
impl UnsafeUnpin for CompletionStats
impl UnwindSafe for CompletionStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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