pub struct ConsumerProtocolTopicAssignment {
pub topic: String,
pub partitions: Vec<i32>,
}Fields§
§topic: String§partitions: Vec<i32>Trait Implementations§
Source§impl Clone for ConsumerProtocolTopicAssignment
impl Clone for ConsumerProtocolTopicAssignment
Source§fn clone(&self) -> ConsumerProtocolTopicAssignment
fn clone(&self) -> ConsumerProtocolTopicAssignment
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 moreimpl Eq for ConsumerProtocolTopicAssignment
impl StructuralPartialEq for ConsumerProtocolTopicAssignment
Auto Trait Implementations§
impl Freeze for ConsumerProtocolTopicAssignment
impl RefUnwindSafe for ConsumerProtocolTopicAssignment
impl Send for ConsumerProtocolTopicAssignment
impl Sync for ConsumerProtocolTopicAssignment
impl Unpin for ConsumerProtocolTopicAssignment
impl UnsafeUnpin for ConsumerProtocolTopicAssignment
impl UnwindSafe for ConsumerProtocolTopicAssignment
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