#[non_exhaustive]pub struct DeleteTagKeyRequest {
pub name: String,
pub validate_only: bool,
pub etag: String,
/* private fields */
}Expand description
The request message for deleting a TagKey.
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 resource name of a TagKey to be deleted in the format
tagKeys/123. The TagKey cannot be a parent of any existing TagValues or
it will not be deleted successfully.
validate_only: boolOptional. Set as true to perform validations necessary for deletion, but not actually perform the action.
etag: StringOptional. The etag known to the client for the expected state of the TagKey. This is to be used for optimistic concurrency.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteTagKeyRequest
impl Clone for DeleteTagKeyRequest
Source§fn clone(&self) -> DeleteTagKeyRequest
fn clone(&self) -> DeleteTagKeyRequest
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 DeleteTagKeyRequest
impl Debug for DeleteTagKeyRequest
Source§impl Default for DeleteTagKeyRequest
impl Default for DeleteTagKeyRequest
Source§fn default() -> DeleteTagKeyRequest
fn default() -> DeleteTagKeyRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteTagKeyRequest
impl Message for DeleteTagKeyRequest
Source§impl PartialEq for DeleteTagKeyRequest
impl PartialEq for DeleteTagKeyRequest
impl StructuralPartialEq for DeleteTagKeyRequest
Auto Trait Implementations§
impl Freeze for DeleteTagKeyRequest
impl RefUnwindSafe for DeleteTagKeyRequest
impl Send for DeleteTagKeyRequest
impl Sync for DeleteTagKeyRequest
impl Unpin for DeleteTagKeyRequest
impl UnwindSafe for DeleteTagKeyRequest
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