#[non_exhaustive]pub struct UpdateDataTableRowRequest {
pub data_table_row: Option<DataTableRow>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
Request to update data table row.
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.data_table_row: Option<DataTableRow>Required. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
update_mask: Option<FieldMask>Optional. The list of fields to update. Currently data table rows only
support updating the values field. When no field mask is supplied, all
non-empty fields will be updated. A field mask of “*” will update all
fields, whether empty or not.
Implementations§
Source§impl UpdateDataTableRowRequest
impl UpdateDataTableRowRequest
Sourcepub fn set_data_table_row<T>(self, v: T) -> Selfwhere
T: Into<DataTableRow>,
pub fn set_data_table_row<T>(self, v: T) -> Selfwhere
T: Into<DataTableRow>,
Sets the value of data_table_row.
§Example
ⓘ
use google_cloud_chronicle_v1::model::DataTableRow;
let x = UpdateDataTableRowRequest::new().set_data_table_row(DataTableRow::default()/* use setters */);Sourcepub fn set_or_clear_data_table_row<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataTableRow>,
pub fn set_or_clear_data_table_row<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataTableRow>,
Sets or clears the value of data_table_row.
§Example
ⓘ
use google_cloud_chronicle_v1::model::DataTableRow;
let x = UpdateDataTableRowRequest::new().set_or_clear_data_table_row(Some(DataTableRow::default()/* use setters */));
let x = UpdateDataTableRowRequest::new().set_or_clear_data_table_row(None::<DataTableRow>);Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateDataTableRowRequest::new().set_update_mask(FieldMask::default()/* use setters */);Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateDataTableRowRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateDataTableRowRequest::new().set_or_clear_update_mask(None::<FieldMask>);Trait Implementations§
Source§impl Clone for UpdateDataTableRowRequest
impl Clone for UpdateDataTableRowRequest
Source§fn clone(&self) -> UpdateDataTableRowRequest
fn clone(&self) -> UpdateDataTableRowRequest
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 UpdateDataTableRowRequest
impl Debug for UpdateDataTableRowRequest
Source§impl Default for UpdateDataTableRowRequest
impl Default for UpdateDataTableRowRequest
Source§fn default() -> UpdateDataTableRowRequest
fn default() -> UpdateDataTableRowRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateDataTableRowRequest
impl Message for UpdateDataTableRowRequest
impl StructuralPartialEq for UpdateDataTableRowRequest
Auto Trait Implementations§
impl Freeze for UpdateDataTableRowRequest
impl RefUnwindSafe for UpdateDataTableRowRequest
impl Send for UpdateDataTableRowRequest
impl Sync for UpdateDataTableRowRequest
impl Unpin for UpdateDataTableRowRequest
impl UnsafeUnpin for UpdateDataTableRowRequest
impl UnwindSafe for UpdateDataTableRowRequest
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