#[non_exhaustive]pub struct DeleteAclsMatchingAcl {
pub error_code: i16,
pub error_message: Option<StrBytes>,
pub resource_type: i8,
pub resource_name: StrBytes,
pub pattern_type: i8,
pub principal: StrBytes,
pub host: StrBytes,
pub operation: i8,
pub permission_type: i8,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-3
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_code: i16
The deletion error code, or 0 if the deletion succeeded.
Supported API versions: 0-3
error_message: Option<StrBytes>
The deletion error message, or null if the deletion succeeded.
Supported API versions: 0-3
resource_type: i8
The ACL resource type.
Supported API versions: 0-3
resource_name: StrBytes
The ACL resource name.
Supported API versions: 0-3
pattern_type: i8
The ACL resource pattern type.
Supported API versions: 1-3
principal: StrBytes
The ACL principal.
Supported API versions: 0-3
host: StrBytes
The ACL host.
Supported API versions: 0-3
operation: i8
The ACL operation.
Supported API versions: 0-3
permission_type: i8
The ACL permission type.
Supported API versions: 0-3
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl DeleteAclsMatchingAcl
impl DeleteAclsMatchingAcl
Sourcepub fn with_error_code(self, value: i16) -> Self
pub fn with_error_code(self, value: i16) -> Self
Sets error_code
to the passed value.
The deletion error code, or 0 if the deletion succeeded.
Supported API versions: 0-3
Sourcepub fn with_error_message(self, value: Option<StrBytes>) -> Self
pub fn with_error_message(self, value: Option<StrBytes>) -> Self
Sets error_message
to the passed value.
The deletion error message, or null if the deletion succeeded.
Supported API versions: 0-3
Sourcepub fn with_resource_type(self, value: i8) -> Self
pub fn with_resource_type(self, value: i8) -> Self
Sets resource_type
to the passed value.
The ACL resource type.
Supported API versions: 0-3
Sourcepub fn with_resource_name(self, value: StrBytes) -> Self
pub fn with_resource_name(self, value: StrBytes) -> Self
Sets resource_name
to the passed value.
The ACL resource name.
Supported API versions: 0-3
Sourcepub fn with_pattern_type(self, value: i8) -> Self
pub fn with_pattern_type(self, value: i8) -> Self
Sets pattern_type
to the passed value.
The ACL resource pattern type.
Supported API versions: 1-3
Sourcepub fn with_principal(self, value: StrBytes) -> Self
pub fn with_principal(self, value: StrBytes) -> Self
Sets principal
to the passed value.
The ACL principal.
Supported API versions: 0-3
Sourcepub fn with_host(self, value: StrBytes) -> Self
pub fn with_host(self, value: StrBytes) -> Self
Sets host
to the passed value.
The ACL host.
Supported API versions: 0-3
Sourcepub fn with_operation(self, value: i8) -> Self
pub fn with_operation(self, value: i8) -> Self
Sets operation
to the passed value.
The ACL operation.
Supported API versions: 0-3
Sourcepub fn with_permission_type(self, value: i8) -> Self
pub fn with_permission_type(self, value: i8) -> Self
Sets permission_type
to the passed value.
The ACL permission type.
Supported API versions: 0-3
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for DeleteAclsMatchingAcl
impl Clone for DeleteAclsMatchingAcl
Source§fn clone(&self) -> DeleteAclsMatchingAcl
fn clone(&self) -> DeleteAclsMatchingAcl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DeleteAclsMatchingAcl
impl Debug for DeleteAclsMatchingAcl
Source§impl Decodable for DeleteAclsMatchingAcl
Available on crate feature client
only.
impl Decodable for DeleteAclsMatchingAcl
client
only.Source§impl Default for DeleteAclsMatchingAcl
impl Default for DeleteAclsMatchingAcl
Source§impl Encodable for DeleteAclsMatchingAcl
Available on crate feature broker
only.
impl Encodable for DeleteAclsMatchingAcl
broker
only.