#[non_exhaustive]pub struct DeleteCapacityCommitmentRequest {
pub name: String,
pub force: bool,
/* private fields */
}Expand description
The request for ReservationService.DeleteCapacityCommitment.
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: StringRequired. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
force: boolCan be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteCapacityCommitmentRequest
impl Clone for DeleteCapacityCommitmentRequest
Source§fn clone(&self) -> DeleteCapacityCommitmentRequest
fn clone(&self) -> DeleteCapacityCommitmentRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteCapacityCommitmentRequest
impl Default for DeleteCapacityCommitmentRequest
Source§fn default() -> DeleteCapacityCommitmentRequest
fn default() -> DeleteCapacityCommitmentRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DeleteCapacityCommitmentRequest
Auto Trait Implementations§
impl Freeze for DeleteCapacityCommitmentRequest
impl RefUnwindSafe for DeleteCapacityCommitmentRequest
impl Send for DeleteCapacityCommitmentRequest
impl Sync for DeleteCapacityCommitmentRequest
impl Unpin for DeleteCapacityCommitmentRequest
impl UnsafeUnpin for DeleteCapacityCommitmentRequest
impl UnwindSafe for DeleteCapacityCommitmentRequest
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