pub struct EntityData {
pub entity_type: KafkaString,
pub entity_name: Option<KafkaString>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§entity_type: KafkaStringThe entity type.
entity_name: Option<KafkaString>The name of the entity, or null if the default.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl EntityData
impl EntityData
pub fn with_entity_type(self, value: KafkaString) -> Self
pub fn with_entity_name(self, value: Option<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 EntityData
impl Clone for EntityData
Source§fn clone(&self) -> EntityData
fn clone(&self) -> EntityData
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 EntityData
impl Debug for EntityData
Source§impl Default for EntityData
impl Default for EntityData
Source§impl PartialEq for EntityData
impl PartialEq for EntityData
Source§fn eq(&self, other: &EntityData) -> bool
fn eq(&self, other: &EntityData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityData
Auto Trait Implementations§
impl !Freeze for EntityData
impl RefUnwindSafe for EntityData
impl Send for EntityData
impl Sync for EntityData
impl Unpin for EntityData
impl UnsafeUnpin for EntityData
impl UnwindSafe for EntityData
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