#[non_exhaustive]pub struct DropRowRangeRequest {
pub name: String,
pub target: Option<Target>,
/* private fields */
}Expand description
Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange
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.name: StringRequired. The unique name of the table on which to drop a range of rows.
Values are of the form
projects/{project}/instances/{instance}/tables/{table}.
target: Option<Target>Delete all rows or by prefix.
Implementations§
Source§impl DropRowRangeRequest
impl DropRowRangeRequest
pub fn new() -> Self
Sourcepub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
pub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
Sets the value of target.
Note that all the setters affecting target are mutually
exclusive.
Sourcepub fn row_key_prefix(&self) -> Option<&Bytes>
pub fn row_key_prefix(&self) -> Option<&Bytes>
The value of target
if it holds a RowKeyPrefix, None if the field is not set or
holds a different branch.
Sourcepub fn set_row_key_prefix<T: Into<Bytes>>(self, v: T) -> Self
pub fn set_row_key_prefix<T: Into<Bytes>>(self, v: T) -> Self
Sets the value of target
to hold a RowKeyPrefix.
Note that all the setters affecting target are
mutually exclusive.
Sourcepub fn delete_all_data_from_table(&self) -> Option<&bool>
pub fn delete_all_data_from_table(&self) -> Option<&bool>
The value of target
if it holds a DeleteAllDataFromTable, None if the field is not set or
holds a different branch.
Sourcepub fn set_delete_all_data_from_table<T: Into<bool>>(self, v: T) -> Self
pub fn set_delete_all_data_from_table<T: Into<bool>>(self, v: T) -> Self
Sets the value of target
to hold a DeleteAllDataFromTable.
Note that all the setters affecting target are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DropRowRangeRequest
impl Clone for DropRowRangeRequest
Source§fn clone(&self) -> DropRowRangeRequest
fn clone(&self) -> DropRowRangeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more