pub struct EntryData {
pub error_code: i16,
pub error_message: Option<KafkaString>,
pub entity: Vec<EntityData>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§error_code: i16The error code, or 0 if the quota alteration succeeded.
error_message: Option<KafkaString>The error message, or null if the quota alteration succeeded.
entity: Vec<EntityData>The quota entity to alter.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl EntryData
impl EntryData
pub fn with_error_code(self, value: i16) -> Self
pub fn with_error_message(self, value: Option<KafkaString>) -> Self
pub fn with_entity(self, value: Vec<EntityData>) -> 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§
impl StructuralPartialEq for EntryData
Auto Trait Implementations§
impl !Freeze for EntryData
impl RefUnwindSafe for EntryData
impl Send for EntryData
impl Sync for EntryData
impl Unpin for EntryData
impl UnsafeUnpin for EntryData
impl UnwindSafe for EntryData
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