pub struct AclDescription {
pub principal: KafkaString,
pub host: KafkaString,
pub operation: i8,
pub permission_type: i8,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§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 AclDescription
impl AclDescription
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 AclDescription
impl Clone for AclDescription
Source§fn clone(&self) -> AclDescription
fn clone(&self) -> AclDescription
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 AclDescription
impl Debug for AclDescription
Source§impl Default for AclDescription
impl Default for AclDescription
Source§impl PartialEq for AclDescription
impl PartialEq for AclDescription
Source§fn eq(&self, other: &AclDescription) -> bool
fn eq(&self, other: &AclDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AclDescription
Auto Trait Implementations§
impl !Freeze for AclDescription
impl RefUnwindSafe for AclDescription
impl Send for AclDescription
impl Sync for AclDescription
impl Unpin for AclDescription
impl UnsafeUnpin for AclDescription
impl UnwindSafe for AclDescription
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