#[non_exhaustive]pub struct DeleteSecurityProfileRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
Request used by the DeleteSecurityProfile 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. A name of the SecurityProfile to delete. Must be in the format
projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}.
etag: StringOptional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteSecurityProfileRequest
impl Clone for DeleteSecurityProfileRequest
Source§fn clone(&self) -> DeleteSecurityProfileRequest
fn clone(&self) -> DeleteSecurityProfileRequest
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 DeleteSecurityProfileRequest
impl Debug for DeleteSecurityProfileRequest
Source§impl Default for DeleteSecurityProfileRequest
impl Default for DeleteSecurityProfileRequest
Source§fn default() -> DeleteSecurityProfileRequest
fn default() -> DeleteSecurityProfileRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteSecurityProfileRequest
impl PartialEq for DeleteSecurityProfileRequest
Source§fn eq(&self, other: &DeleteSecurityProfileRequest) -> bool
fn eq(&self, other: &DeleteSecurityProfileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteSecurityProfileRequest
Auto Trait Implementations§
impl Freeze for DeleteSecurityProfileRequest
impl RefUnwindSafe for DeleteSecurityProfileRequest
impl Send for DeleteSecurityProfileRequest
impl Sync for DeleteSecurityProfileRequest
impl Unpin for DeleteSecurityProfileRequest
impl UnsafeUnpin for DeleteSecurityProfileRequest
impl UnwindSafe for DeleteSecurityProfileRequest
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