pub struct CreatableRenewers {
pub principal_type: KafkaString,
pub principal_name: KafkaString,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§principal_type: KafkaStringThe type of the Kafka principal.
principal_name: KafkaStringThe name of the Kafka principal.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl CreatableRenewers
impl CreatableRenewers
pub fn with_principal_type(self, value: KafkaString) -> Self
pub fn with_principal_name(self, value: KafkaString) -> 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 CreatableRenewers
impl Clone for CreatableRenewers
Source§fn clone(&self) -> CreatableRenewers
fn clone(&self) -> CreatableRenewers
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 CreatableRenewers
impl Debug for CreatableRenewers
Source§impl Default for CreatableRenewers
impl Default for CreatableRenewers
Source§impl PartialEq for CreatableRenewers
impl PartialEq for CreatableRenewers
Source§fn eq(&self, other: &CreatableRenewers) -> bool
fn eq(&self, other: &CreatableRenewers) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatableRenewers
Auto Trait Implementations§
impl !Freeze for CreatableRenewers
impl RefUnwindSafe for CreatableRenewers
impl Send for CreatableRenewers
impl Sync for CreatableRenewers
impl Unpin for CreatableRenewers
impl UnsafeUnpin for CreatableRenewers
impl UnwindSafe for CreatableRenewers
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