pub struct DescribableLogDirTopic {
pub topic: KafkaString,
pub partitions: Vec<i32>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§topic: KafkaStringThe topic name.
partitions: Vec<i32>The partition indexes.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DescribableLogDirTopic
impl DescribableLogDirTopic
pub fn with_topic(self, value: KafkaString) -> Self
pub fn with_partitions(self, value: Vec<i32>) -> 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 DescribableLogDirTopic
impl Clone for DescribableLogDirTopic
Source§fn clone(&self) -> DescribableLogDirTopic
fn clone(&self) -> DescribableLogDirTopic
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 DescribableLogDirTopic
impl Debug for DescribableLogDirTopic
Source§impl Default for DescribableLogDirTopic
impl Default for DescribableLogDirTopic
Source§impl PartialEq for DescribableLogDirTopic
impl PartialEq for DescribableLogDirTopic
Source§fn eq(&self, other: &DescribableLogDirTopic) -> bool
fn eq(&self, other: &DescribableLogDirTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribableLogDirTopic
Auto Trait Implementations§
impl !Freeze for DescribableLogDirTopic
impl RefUnwindSafe for DescribableLogDirTopic
impl Send for DescribableLogDirTopic
impl Sync for DescribableLogDirTopic
impl Unpin for DescribableLogDirTopic
impl UnsafeUnpin for DescribableLogDirTopic
impl UnwindSafe for DescribableLogDirTopic
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