pub struct TopicPartition {
pub topic: String,
pub partitions: Vec<i32>,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§topic: String§partitions: Vec<i32>§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for TopicPartition
impl Clone for TopicPartition
Source§fn clone(&self) -> TopicPartition
fn clone(&self) -> TopicPartition
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 TopicPartition
impl Debug for TopicPartition
Source§impl Decode<'_> for TopicPartition
impl Decode<'_> for TopicPartition
Source§impl Default for TopicPartition
impl Default for TopicPartition
Source§fn default() -> TopicPartition
fn default() -> TopicPartition
Returns the “default value” for a type. Read more
Source§impl Encode for TopicPartition
impl Encode for TopicPartition
impl Eq for TopicPartition
Source§impl PartialEq for TopicPartition
impl PartialEq for TopicPartition
Source§fn eq(&self, other: &TopicPartition) -> bool
fn eq(&self, other: &TopicPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TopicPartition
Auto Trait Implementations§
impl Freeze for TopicPartition
impl RefUnwindSafe for TopicPartition
impl Send for TopicPartition
impl Sync for TopicPartition
impl Unpin for TopicPartition
impl UnsafeUnpin for TopicPartition
impl UnwindSafe for TopicPartition
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