pub struct ConsumerProtocolAssignment {
pub assigned_partitions: Vec<TopicPartition>,
pub user_data: Option<Vec<u8>>,
}Expand description
ConsumerProtocolAssignment, version 1.
Fields§
§assigned_partitions: Vec<TopicPartition>The list of topics and partitions assigned to this consumer.
user_data: Option<Vec<u8>>User data.
Implementations§
Trait Implementations§
Source§impl Clone for ConsumerProtocolAssignment
impl Clone for ConsumerProtocolAssignment
Source§fn clone(&self) -> ConsumerProtocolAssignment
fn clone(&self) -> ConsumerProtocolAssignment
Returns a duplicate of the value. Read more
1.0.0 · 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 ConsumerProtocolAssignment
impl Debug for ConsumerProtocolAssignment
Source§impl Default for ConsumerProtocolAssignment
impl Default for ConsumerProtocolAssignment
Source§impl<'de> Deserialize<'de> for ConsumerProtocolAssignment
impl<'de> Deserialize<'de> for ConsumerProtocolAssignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Data for ConsumerProtocolAssignment
impl StructuralPartialEq for ConsumerProtocolAssignment
Auto Trait Implementations§
impl Freeze for ConsumerProtocolAssignment
impl RefUnwindSafe for ConsumerProtocolAssignment
impl Send for ConsumerProtocolAssignment
impl Sync for ConsumerProtocolAssignment
impl Unpin for ConsumerProtocolAssignment
impl UnwindSafe for ConsumerProtocolAssignment
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