pub struct TopicListChange {
pub added: Vec<String>,
pub removed: Vec<String>,
}Expand description
PIP-145 TopicListChanged delta surfaced through
BrokerMetadataApi::poll_topic_list_change. Façade-side analogue
of the per-runtime TopicListChange structs — each runtime impl
converts its own delta into this engine-agnostic shape so generic
surfaces (PatternConsumer<C>::update) can reconcile without
touching runtime-specific types.
Fields§
§added: Vec<String>Topics that newly match the pattern.
removed: Vec<String>Topics that no longer match the pattern.
Trait Implementations§
Source§impl Clone for TopicListChange
impl Clone for TopicListChange
Source§fn clone(&self) -> TopicListChange
fn clone(&self) -> TopicListChange
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 moreAuto Trait Implementations§
impl Freeze for TopicListChange
impl RefUnwindSafe for TopicListChange
impl Send for TopicListChange
impl Sync for TopicListChange
impl Unpin for TopicListChange
impl UnsafeUnpin for TopicListChange
impl UnwindSafe for TopicListChange
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