#[non_exhaustive]pub struct RemoveAclEntryRequest {
pub acl: String,
pub acl_entry: Option<AclEntry>,
/* private fields */
}Expand description
Request for RemoveAclEntry.
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.acl: StringRequired. The name of the acl to remove the acl entry from.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}.
The structure of acl_id defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name for
details.
acl_entry: Option<AclEntry>Required. The acl entry to remove.
Implementations§
Source§impl RemoveAclEntryRequest
impl RemoveAclEntryRequest
pub fn new() -> Self
Sourcepub fn set_acl_entry<T>(self, v: T) -> Self
pub fn set_acl_entry<T>(self, v: T) -> Self
Sets the value of acl_entry.
Trait Implementations§
Source§impl Clone for RemoveAclEntryRequest
impl Clone for RemoveAclEntryRequest
Source§fn clone(&self) -> RemoveAclEntryRequest
fn clone(&self) -> RemoveAclEntryRequest
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 RemoveAclEntryRequest
impl Debug for RemoveAclEntryRequest
Source§impl Default for RemoveAclEntryRequest
impl Default for RemoveAclEntryRequest
Source§fn default() -> RemoveAclEntryRequest
fn default() -> RemoveAclEntryRequest
Returns the “default value” for a type. Read more
Source§impl Message for RemoveAclEntryRequest
impl Message for RemoveAclEntryRequest
Source§impl PartialEq for RemoveAclEntryRequest
impl PartialEq for RemoveAclEntryRequest
impl StructuralPartialEq for RemoveAclEntryRequest
Auto Trait Implementations§
impl Freeze for RemoveAclEntryRequest
impl RefUnwindSafe for RemoveAclEntryRequest
impl Send for RemoveAclEntryRequest
impl Sync for RemoveAclEntryRequest
impl Unpin for RemoveAclEntryRequest
impl UnwindSafe for RemoveAclEntryRequest
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