#[non_exhaustive]pub struct DeleteKeyRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
Request message for DeleteKey method.
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 the API key to be deleted.
etag: StringOptional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteKeyRequest
impl Clone for DeleteKeyRequest
Source§fn clone(&self) -> DeleteKeyRequest
fn clone(&self) -> DeleteKeyRequest
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 DeleteKeyRequest
impl Debug for DeleteKeyRequest
Source§impl Default for DeleteKeyRequest
impl Default for DeleteKeyRequest
Source§fn default() -> DeleteKeyRequest
fn default() -> DeleteKeyRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteKeyRequest
impl Message for DeleteKeyRequest
Source§impl PartialEq for DeleteKeyRequest
impl PartialEq for DeleteKeyRequest
impl StructuralPartialEq for DeleteKeyRequest
Auto Trait Implementations§
impl Freeze for DeleteKeyRequest
impl RefUnwindSafe for DeleteKeyRequest
impl Send for DeleteKeyRequest
impl Sync for DeleteKeyRequest
impl Unpin for DeleteKeyRequest
impl UnsafeUnpin for DeleteKeyRequest
impl UnwindSafe for DeleteKeyRequest
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