#[non_exhaustive]pub struct RemoveAclEntryResponse {
pub result: Option<Result>,
/* private fields */
}Expand description
Response 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.result: Option<Result>The result of removing the acl entry, depending on whether the acl was deleted as a result of removing the acl entry.
Implementations§
Source§impl RemoveAclEntryResponse
impl RemoveAclEntryResponse
pub fn new() -> Self
Sourcepub fn set_result<T: Into<Option<Result>>>(self, v: T) -> Self
pub fn set_result<T: Into<Option<Result>>>(self, v: T) -> Self
Sets the value of result.
Note that all the setters affecting result are mutually
exclusive.
Sourcepub fn acl(&self) -> Option<&Box<Acl>>
pub fn acl(&self) -> Option<&Box<Acl>>
The value of result
if it holds a Acl, None if the field is not set or
holds a different branch.
Sourcepub fn set_acl<T: Into<Box<Acl>>>(self, v: T) -> Self
pub fn set_acl<T: Into<Box<Acl>>>(self, v: T) -> Self
Sets the value of result
to hold a Acl.
Note that all the setters affecting result are
mutually exclusive.
Sourcepub fn acl_deleted(&self) -> Option<&bool>
pub fn acl_deleted(&self) -> Option<&bool>
The value of result
if it holds a AclDeleted, None if the field is not set or
holds a different branch.
Sourcepub fn set_acl_deleted<T: Into<bool>>(self, v: T) -> Self
pub fn set_acl_deleted<T: Into<bool>>(self, v: T) -> Self
Sets the value of result
to hold a AclDeleted.
Note that all the setters affecting result are
mutually exclusive.
Trait Implementations§
Source§impl Clone for RemoveAclEntryResponse
impl Clone for RemoveAclEntryResponse
Source§fn clone(&self) -> RemoveAclEntryResponse
fn clone(&self) -> RemoveAclEntryResponse
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 RemoveAclEntryResponse
impl Debug for RemoveAclEntryResponse
Source§impl Default for RemoveAclEntryResponse
impl Default for RemoveAclEntryResponse
Source§fn default() -> RemoveAclEntryResponse
fn default() -> RemoveAclEntryResponse
Returns the “default value” for a type. Read more
Source§impl Message for RemoveAclEntryResponse
impl Message for RemoveAclEntryResponse
Source§impl PartialEq for RemoveAclEntryResponse
impl PartialEq for RemoveAclEntryResponse
impl StructuralPartialEq for RemoveAclEntryResponse
Auto Trait Implementations§
impl Freeze for RemoveAclEntryResponse
impl RefUnwindSafe for RemoveAclEntryResponse
impl Send for RemoveAclEntryResponse
impl Sync for RemoveAclEntryResponse
impl Unpin for RemoveAclEntryResponse
impl UnwindSafe for RemoveAclEntryResponse
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