#[non_exhaustive]pub struct AddSplitPointsRequest {
pub database: String,
pub split_points: Vec<SplitPoints>,
pub initiator: String,
/* private fields */
}
Expand description
The request for AddSplitPoints.
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.database: String
Required. The database on whose tables/indexes split points are to be
added. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
split_points: Vec<SplitPoints>
Required. The split points to add.
initiator: String
Optional. A user-supplied tag associated with the split points. For example, “intital_data_load”, “special_event_1”. Defaults to “CloudAddSplitPointsAPI” if not specified. The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 characters are allowed.
Implementations§
Source§impl AddSplitPointsRequest
impl AddSplitPointsRequest
pub fn new() -> Self
Sourcepub fn set_database<T: Into<String>>(self, v: T) -> Self
pub fn set_database<T: Into<String>>(self, v: T) -> Self
Sets the value of database.
Sourcepub fn set_split_points<T, V>(self, v: T) -> Self
pub fn set_split_points<T, V>(self, v: T) -> Self
Sets the value of split_points.
Sourcepub fn set_initiator<T: Into<String>>(self, v: T) -> Self
pub fn set_initiator<T: Into<String>>(self, v: T) -> Self
Sets the value of initiator.
Trait Implementations§
Source§impl Clone for AddSplitPointsRequest
impl Clone for AddSplitPointsRequest
Source§fn clone(&self) -> AddSplitPointsRequest
fn clone(&self) -> AddSplitPointsRequest
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 AddSplitPointsRequest
impl Debug for AddSplitPointsRequest
Source§impl Default for AddSplitPointsRequest
impl Default for AddSplitPointsRequest
Source§fn default() -> AddSplitPointsRequest
fn default() -> AddSplitPointsRequest
Returns the “default value” for a type. Read more
Source§impl Message for AddSplitPointsRequest
impl Message for AddSplitPointsRequest
Source§impl PartialEq for AddSplitPointsRequest
impl PartialEq for AddSplitPointsRequest
impl StructuralPartialEq for AddSplitPointsRequest
Auto Trait Implementations§
impl Freeze for AddSplitPointsRequest
impl RefUnwindSafe for AddSplitPointsRequest
impl Send for AddSplitPointsRequest
impl Sync for AddSplitPointsRequest
impl Unpin for AddSplitPointsRequest
impl UnwindSafe for AddSplitPointsRequest
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