#[non_exhaustive]pub struct LoadQueryStatistics {
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>,
/* private fields */
}Expand description
Statistics for a LOAD query.
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 query.
input_file_bytes: Option<Int64Value>Output only. Number of bytes of source data in a LOAD query.
output_rows: Option<Int64Value>Output only. Number of rows imported in a LOAD query. Note that while a LOAD query 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 query is in the running state, this value may change.
bad_records: Option<Int64Value>Output only. The number of bad records encountered while processing a LOAD query. 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.
Implementations§
Source§impl LoadQueryStatistics
impl LoadQueryStatistics
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 = LoadQueryStatistics::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 = LoadQueryStatistics::new().set_or_clear_input_files(Some(Int64Value::default()/* use setters */));
let x = LoadQueryStatistics::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 = LoadQueryStatistics::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 = LoadQueryStatistics::new().set_or_clear_input_file_bytes(Some(Int64Value::default()/* use setters */));
let x = LoadQueryStatistics::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 = LoadQueryStatistics::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 = LoadQueryStatistics::new().set_or_clear_output_rows(Some(Int64Value::default()/* use setters */));
let x = LoadQueryStatistics::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 = LoadQueryStatistics::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 = LoadQueryStatistics::new().set_or_clear_output_bytes(Some(Int64Value::default()/* use setters */));
let x = LoadQueryStatistics::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 = LoadQueryStatistics::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 = LoadQueryStatistics::new().set_or_clear_bad_records(Some(Int64Value::default()/* use setters */));
let x = LoadQueryStatistics::new().set_or_clear_bad_records(None::<Int64Value>);Trait Implementations§
Source§impl Clone for LoadQueryStatistics
impl Clone for LoadQueryStatistics
Source§fn clone(&self) -> LoadQueryStatistics
fn clone(&self) -> LoadQueryStatistics
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 LoadQueryStatistics
impl Debug for LoadQueryStatistics
Source§impl Default for LoadQueryStatistics
impl Default for LoadQueryStatistics
Source§fn default() -> LoadQueryStatistics
fn default() -> LoadQueryStatistics
Source§impl Message for LoadQueryStatistics
impl Message for LoadQueryStatistics
Source§impl PartialEq for LoadQueryStatistics
impl PartialEq for LoadQueryStatistics
impl StructuralPartialEq for LoadQueryStatistics
Auto Trait Implementations§
impl Freeze for LoadQueryStatistics
impl RefUnwindSafe for LoadQueryStatistics
impl Send for LoadQueryStatistics
impl Sync for LoadQueryStatistics
impl Unpin for LoadQueryStatistics
impl UnsafeUnpin for LoadQueryStatistics
impl UnwindSafe for LoadQueryStatistics
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