#[non_exhaustive]pub struct AddAclEntryResponse {
pub acl: Option<Acl>,
pub acl_created: bool,
/* private fields */
}Expand description
Response for AddAclEntry.
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: Option<Acl>The updated acl.
acl_created: boolWhether the acl was created as a result of adding the acl entry.
Implementations§
Source§impl AddAclEntryResponse
impl AddAclEntryResponse
pub fn new() -> Self
Sourcepub fn set_or_clear_acl<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_acl<T>(self, v: Option<T>) -> Self
Sets or clears the value of acl.
Sourcepub fn set_acl_created<T: Into<bool>>(self, v: T) -> Self
pub fn set_acl_created<T: Into<bool>>(self, v: T) -> Self
Sets the value of acl_created.
Trait Implementations§
Source§impl Clone for AddAclEntryResponse
impl Clone for AddAclEntryResponse
Source§fn clone(&self) -> AddAclEntryResponse
fn clone(&self) -> AddAclEntryResponse
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 AddAclEntryResponse
impl Debug for AddAclEntryResponse
Source§impl Default for AddAclEntryResponse
impl Default for AddAclEntryResponse
Source§fn default() -> AddAclEntryResponse
fn default() -> AddAclEntryResponse
Returns the “default value” for a type. Read more
Source§impl Message for AddAclEntryResponse
impl Message for AddAclEntryResponse
Source§impl PartialEq for AddAclEntryResponse
impl PartialEq for AddAclEntryResponse
impl StructuralPartialEq for AddAclEntryResponse
Auto Trait Implementations§
impl Freeze for AddAclEntryResponse
impl RefUnwindSafe for AddAclEntryResponse
impl Send for AddAclEntryResponse
impl Sync for AddAclEntryResponse
impl Unpin for AddAclEntryResponse
impl UnwindSafe for AddAclEntryResponse
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