#[non_exhaustive]pub struct DeleteWorkloadRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
Request for deleting a Workload.
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. The name field is used to identify the workload.
Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
etag: StringOptional. The etag of the workload. If this is provided, it must match the server’s etag.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteWorkloadRequest
impl Clone for DeleteWorkloadRequest
Source§fn clone(&self) -> DeleteWorkloadRequest
fn clone(&self) -> DeleteWorkloadRequest
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 DeleteWorkloadRequest
impl Debug for DeleteWorkloadRequest
Source§impl Default for DeleteWorkloadRequest
impl Default for DeleteWorkloadRequest
Source§fn default() -> DeleteWorkloadRequest
fn default() -> DeleteWorkloadRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteWorkloadRequest
impl Message for DeleteWorkloadRequest
Source§impl PartialEq for DeleteWorkloadRequest
impl PartialEq for DeleteWorkloadRequest
impl StructuralPartialEq for DeleteWorkloadRequest
Auto Trait Implementations§
impl Freeze for DeleteWorkloadRequest
impl RefUnwindSafe for DeleteWorkloadRequest
impl Send for DeleteWorkloadRequest
impl Sync for DeleteWorkloadRequest
impl Unpin for DeleteWorkloadRequest
impl UnsafeUnpin for DeleteWorkloadRequest
impl UnwindSafe for DeleteWorkloadRequest
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