Struct google_cloud_bigquery::http::tabledata::insert_all::InsertAllRequest
source · pub struct InsertAllRequest<T: Serialize> {
pub skip_invalid_rows: Option<bool>,
pub ignore_unknown_values: Option<bool>,
pub template_suffix: Option<String>,
pub rows: Vec<Row<T>>,
pub trace_id: Option<String>,
}Fields§
§skip_invalid_rows: Option<bool>Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any invalid rows exist.
ignore_unknown_values: Option<bool>Optional. Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values as errors.
template_suffix: Option<String>Optional. If specified, treats the destination table as a base template, and inserts the rows into an instance table named “{destination}{templateSuffix}”. BigQuery will manage creation of the instance table, using the schema of the base template table. See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables.
rows: Vec<Row<T>>Data to insert
trace_id: Option<String>Optional. Unique request trace id. Used for debugging purposes only. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended.
Trait Implementations§
source§impl<T: Clone + Serialize> Clone for InsertAllRequest<T>
impl<T: Clone + Serialize> Clone for InsertAllRequest<T>
source§fn clone(&self) -> InsertAllRequest<T>
fn clone(&self) -> InsertAllRequest<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl<T: Serialize> Default for InsertAllRequest<T>
impl<T: Serialize> Default for InsertAllRequest<T>
source§impl<'de, T> Deserialize<'de> for InsertAllRequest<T>where
T: Deserialize<'de> + Serialize,
impl<'de, T> Deserialize<'de> for InsertAllRequest<T>where
T: Deserialize<'de> + Serialize,
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<T: PartialEq + Serialize> PartialEq for InsertAllRequest<T>
impl<T: PartialEq + Serialize> PartialEq for InsertAllRequest<T>
source§fn eq(&self, other: &InsertAllRequest<T>) -> bool
fn eq(&self, other: &InsertAllRequest<T>) -> bool
self and other values to be equal, and is used
by ==.source§impl<T> Serialize for InsertAllRequest<T>
impl<T> Serialize for InsertAllRequest<T>
impl<T: Eq + Serialize> Eq for InsertAllRequest<T>
impl<T: Serialize> StructuralEq for InsertAllRequest<T>
impl<T: Serialize> StructuralPartialEq for InsertAllRequest<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for InsertAllRequest<T>where
T: RefUnwindSafe,
impl<T> Send for InsertAllRequest<T>where
T: Send,
impl<T> Sync for InsertAllRequest<T>where
T: Sync,
impl<T> Unpin for InsertAllRequest<T>where
T: Unpin,
impl<T> UnwindSafe for InsertAllRequest<T>where
T: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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