pub struct DeleteAclsMatchingAcl {
pub error_code: i16,
pub error_message: Option<KafkaString>,
pub resource_type: i8,
pub resource_name: KafkaString,
pub pattern_type: i8,
pub principal: KafkaString,
pub host: KafkaString,
pub operation: i8,
pub permission_type: i8,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§error_code: i16The deletion error code, or 0 if the deletion succeeded.
error_message: Option<KafkaString>The deletion error message, or null if the deletion succeeded.
resource_type: i8The ACL resource type.
resource_name: KafkaStringThe ACL resource name.
pattern_type: i8The ACL resource pattern type.
principal: KafkaStringThe ACL principal.
host: KafkaStringThe ACL host.
operation: i8The ACL operation.
permission_type: i8The ACL permission type.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DeleteAclsMatchingAcl
impl DeleteAclsMatchingAcl
pub fn with_error_code(self, value: i16) -> Self
pub fn with_error_message(self, value: Option<KafkaString>) -> Self
pub fn with_resource_type(self, value: i8) -> Self
pub fn with_resource_name(self, value: KafkaString) -> Self
pub fn with_pattern_type(self, value: i8) -> Self
pub fn with_principal(self, value: KafkaString) -> Self
pub fn with_host(self, value: KafkaString) -> Self
pub fn with_operation(self, value: i8) -> Self
pub fn with_permission_type(self, value: i8) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for DeleteAclsMatchingAcl
impl Clone for DeleteAclsMatchingAcl
Source§fn clone(&self) -> DeleteAclsMatchingAcl
fn clone(&self) -> DeleteAclsMatchingAcl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteAclsMatchingAcl
impl Debug for DeleteAclsMatchingAcl
Source§impl Default for DeleteAclsMatchingAcl
impl Default for DeleteAclsMatchingAcl
Source§impl PartialEq for DeleteAclsMatchingAcl
impl PartialEq for DeleteAclsMatchingAcl
Source§fn eq(&self, other: &DeleteAclsMatchingAcl) -> bool
fn eq(&self, other: &DeleteAclsMatchingAcl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteAclsMatchingAcl
Auto Trait Implementations§
impl !Freeze for DeleteAclsMatchingAcl
impl RefUnwindSafe for DeleteAclsMatchingAcl
impl Send for DeleteAclsMatchingAcl
impl Sync for DeleteAclsMatchingAcl
impl Unpin for DeleteAclsMatchingAcl
impl UnsafeUnpin for DeleteAclsMatchingAcl
impl UnwindSafe for DeleteAclsMatchingAcl
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