#[non_exhaustive]pub struct BigQueryKey {
pub table_reference: Option<BigQueryTable>,
pub row_number: i64,
/* private fields */
}Expand description
Row key for identifying a record in BigQuery table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.table_reference: Option<BigQueryTable>Complete BigQuery table reference.
row_number: i64Row number inferred at the time the table was scanned. This value is
nondeterministic, cannot be queried, and may be null for inspection
jobs. To locate findings within a table, specify
inspect_job.storage_config.big_query_options.identifying_fields in
CreateDlpJobRequest.
Implementations§
Source§impl BigQueryKey
impl BigQueryKey
pub fn new() -> Self
Sourcepub fn set_table_reference<T>(self, v: T) -> Selfwhere
T: Into<BigQueryTable>,
pub fn set_table_reference<T>(self, v: T) -> Selfwhere
T: Into<BigQueryTable>,
Sets the value of table_reference.
§Example
ⓘ
use google_cloud_privacy_dlp_v2::model::BigQueryTable;
let x = BigQueryKey::new().set_table_reference(BigQueryTable::default()/* use setters */);Sourcepub fn set_or_clear_table_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryTable>,
pub fn set_or_clear_table_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryTable>,
Sets or clears the value of table_reference.
§Example
ⓘ
use google_cloud_privacy_dlp_v2::model::BigQueryTable;
let x = BigQueryKey::new().set_or_clear_table_reference(Some(BigQueryTable::default()/* use setters */));
let x = BigQueryKey::new().set_or_clear_table_reference(None::<BigQueryTable>);Sourcepub fn set_row_number<T: Into<i64>>(self, v: T) -> Self
pub fn set_row_number<T: Into<i64>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for BigQueryKey
impl Clone for BigQueryKey
Source§fn clone(&self) -> BigQueryKey
fn clone(&self) -> BigQueryKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BigQueryKey
impl Debug for BigQueryKey
Source§impl Default for BigQueryKey
impl Default for BigQueryKey
Source§fn default() -> BigQueryKey
fn default() -> BigQueryKey
Returns the “default value” for a type. Read more
Source§impl Message for BigQueryKey
impl Message for BigQueryKey
Source§impl PartialEq for BigQueryKey
impl PartialEq for BigQueryKey
impl StructuralPartialEq for BigQueryKey
Auto Trait Implementations§
impl Freeze for BigQueryKey
impl RefUnwindSafe for BigQueryKey
impl Send for BigQueryKey
impl Sync for BigQueryKey
impl Unpin for BigQueryKey
impl UnsafeUnpin for BigQueryKey
impl UnwindSafe for BigQueryKey
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
Mutably borrows from an owned value. Read more