#[non_exhaustive]pub struct JobStatistics3 {
pub input_files: Option<Int64Value>,
pub input_file_bytes: Option<Int64Value>,
pub output_rows: Option<Int64Value>,
pub output_bytes: Option<Int64Value>,
pub bad_records: Option<Int64Value>,
pub timeline: Vec<QueryTimelineSample>,
/* private fields */
}Expand description
Statistics for a load job.
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.input_files: Option<Int64Value>Output only. Number of source files in a load job.
input_file_bytes: Option<Int64Value>Output only. Number of bytes of source data in a load job.
output_rows: Option<Int64Value>Output only. Number of rows imported in a load job. Note that while an import job is in the running state, this value may change.
output_bytes: Option<Int64Value>Output only. Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.
bad_records: Option<Int64Value>Output only. The number of bad records encountered. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data.
timeline: Vec<QueryTimelineSample>Output only. Describes a timeline of job execution.
Implementations§
Source§impl JobStatistics3
impl JobStatistics3
Sourcepub fn set_input_files<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
pub fn set_input_files<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
Sets the value of input_files.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_input_files(Int64Value::default()/* use setters */);Sourcepub fn set_or_clear_input_files<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
pub fn set_or_clear_input_files<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
Sets or clears the value of input_files.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_or_clear_input_files(Some(Int64Value::default()/* use setters */));
let x = JobStatistics3::new().set_or_clear_input_files(None::<Int64Value>);Sourcepub fn set_input_file_bytes<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
pub fn set_input_file_bytes<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
Sets the value of input_file_bytes.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_input_file_bytes(Int64Value::default()/* use setters */);Sourcepub fn set_or_clear_input_file_bytes<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
pub fn set_or_clear_input_file_bytes<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
Sets or clears the value of input_file_bytes.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_or_clear_input_file_bytes(Some(Int64Value::default()/* use setters */));
let x = JobStatistics3::new().set_or_clear_input_file_bytes(None::<Int64Value>);Sourcepub fn set_output_rows<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
pub fn set_output_rows<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
Sets the value of output_rows.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_output_rows(Int64Value::default()/* use setters */);Sourcepub fn set_or_clear_output_rows<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
pub fn set_or_clear_output_rows<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
Sets or clears the value of output_rows.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_or_clear_output_rows(Some(Int64Value::default()/* use setters */));
let x = JobStatistics3::new().set_or_clear_output_rows(None::<Int64Value>);Sourcepub fn set_output_bytes<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
pub fn set_output_bytes<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
Sets the value of output_bytes.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_output_bytes(Int64Value::default()/* use setters */);Sourcepub fn set_or_clear_output_bytes<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
pub fn set_or_clear_output_bytes<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
Sets or clears the value of output_bytes.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_or_clear_output_bytes(Some(Int64Value::default()/* use setters */));
let x = JobStatistics3::new().set_or_clear_output_bytes(None::<Int64Value>);Sourcepub fn set_bad_records<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
pub fn set_bad_records<T>(self, v: T) -> Selfwhere
T: Into<Int64Value>,
Sets the value of bad_records.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_bad_records(Int64Value::default()/* use setters */);Sourcepub fn set_or_clear_bad_records<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
pub fn set_or_clear_bad_records<T>(self, v: Option<T>) -> Selfwhere
T: Into<Int64Value>,
Sets or clears the value of bad_records.
§Example
use wkt::Int64Value;
let x = JobStatistics3::new().set_or_clear_bad_records(Some(Int64Value::default()/* use setters */));
let x = JobStatistics3::new().set_or_clear_bad_records(None::<Int64Value>);Sourcepub fn set_timeline<T, V>(self, v: T) -> Self
pub fn set_timeline<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for JobStatistics3
impl Clone for JobStatistics3
Source§fn clone(&self) -> JobStatistics3
fn clone(&self) -> JobStatistics3
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 JobStatistics3
impl Debug for JobStatistics3
Source§impl Default for JobStatistics3
impl Default for JobStatistics3
Source§fn default() -> JobStatistics3
fn default() -> JobStatistics3
Source§impl Message for JobStatistics3
impl Message for JobStatistics3
Source§impl PartialEq for JobStatistics3
impl PartialEq for JobStatistics3
impl StructuralPartialEq for JobStatistics3
Auto Trait Implementations§
impl Freeze for JobStatistics3
impl RefUnwindSafe for JobStatistics3
impl Send for JobStatistics3
impl Sync for JobStatistics3
impl Unpin for JobStatistics3
impl UnsafeUnpin for JobStatistics3
impl UnwindSafe for JobStatistics3
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