#[non_exhaustive]pub struct DeleteInstancePartitionRequest {
pub name: String,
pub etag: String,
/* private fields */
}
Expand description
The request for DeleteInstancePartition.
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.name: String
Required. The name of the instance partition to be deleted.
Values are of the form
projects/{project}/instances/{instance}/instancePartitions/{instance_partition}
etag: String
Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteInstancePartitionRequest
impl Clone for DeleteInstancePartitionRequest
Source§fn clone(&self) -> DeleteInstancePartitionRequest
fn clone(&self) -> DeleteInstancePartitionRequest
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 Default for DeleteInstancePartitionRequest
impl Default for DeleteInstancePartitionRequest
Source§fn default() -> DeleteInstancePartitionRequest
fn default() -> DeleteInstancePartitionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteInstancePartitionRequest
impl PartialEq for DeleteInstancePartitionRequest
Source§fn eq(&self, other: &DeleteInstancePartitionRequest) -> bool
fn eq(&self, other: &DeleteInstancePartitionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeleteInstancePartitionRequest
Auto Trait Implementations§
impl Freeze for DeleteInstancePartitionRequest
impl RefUnwindSafe for DeleteInstancePartitionRequest
impl Send for DeleteInstancePartitionRequest
impl Sync for DeleteInstancePartitionRequest
impl Unpin for DeleteInstancePartitionRequest
impl UnwindSafe for DeleteInstancePartitionRequest
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