#[non_exhaustive]pub struct GetCapacityCommitmentRequest {
pub name: String,
/* private fields */
}Expand description
The request for ReservationService.GetCapacityCommitment.
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 retrieve. E.g.,
projects/myproject/locations/US/capacityCommitments/123
Implementations§
Trait Implementations§
Source§impl Clone for GetCapacityCommitmentRequest
impl Clone for GetCapacityCommitmentRequest
Source§fn clone(&self) -> GetCapacityCommitmentRequest
fn clone(&self) -> GetCapacityCommitmentRequest
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 Debug for GetCapacityCommitmentRequest
impl Debug for GetCapacityCommitmentRequest
Source§impl Default for GetCapacityCommitmentRequest
impl Default for GetCapacityCommitmentRequest
Source§fn default() -> GetCapacityCommitmentRequest
fn default() -> GetCapacityCommitmentRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetCapacityCommitmentRequest
Auto Trait Implementations§
impl Freeze for GetCapacityCommitmentRequest
impl RefUnwindSafe for GetCapacityCommitmentRequest
impl Send for GetCapacityCommitmentRequest
impl Sync for GetCapacityCommitmentRequest
impl Unpin for GetCapacityCommitmentRequest
impl UnsafeUnpin for GetCapacityCommitmentRequest
impl UnwindSafe for GetCapacityCommitmentRequest
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