#[non_exhaustive]pub struct DeleteInstanceConfigRequest {
pub name: String,
pub etag: String,
pub validate_only: bool,
/* private fields */
}
Expand description
The request for DeleteInstanceConfig.
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 configuration to be deleted.
Values are of the form
projects/<project>/instanceConfigs/<instance_config>
etag: String
Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.
validate_only: bool
An option to validate, but not actually execute, a request, and provide the same response.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteInstanceConfigRequest
impl Clone for DeleteInstanceConfigRequest
Source§fn clone(&self) -> DeleteInstanceConfigRequest
fn clone(&self) -> DeleteInstanceConfigRequest
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 DeleteInstanceConfigRequest
impl Debug for DeleteInstanceConfigRequest
Source§impl Default for DeleteInstanceConfigRequest
impl Default for DeleteInstanceConfigRequest
Source§fn default() -> DeleteInstanceConfigRequest
fn default() -> DeleteInstanceConfigRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DeleteInstanceConfigRequest
Auto Trait Implementations§
impl Freeze for DeleteInstanceConfigRequest
impl RefUnwindSafe for DeleteInstanceConfigRequest
impl Send for DeleteInstanceConfigRequest
impl Sync for DeleteInstanceConfigRequest
impl Unpin for DeleteInstanceConfigRequest
impl UnwindSafe for DeleteInstanceConfigRequest
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