pub struct TopicDataBuilder { /* private fields */ }
Expand description
Builder for TopicData
.
Implementations§
source§impl TopicDataBuilder
impl TopicDataBuilder
sourcepub fn topic_name(&mut self, value: TopicName) -> &mut Self
pub fn topic_name(&mut self, value: TopicName) -> &mut Self
The name of the topic to alter ISRs for
Supported API versions: 0-1
sourcepub fn topic_id(&mut self, value: Uuid) -> &mut Self
pub fn topic_id(&mut self, value: Uuid) -> &mut Self
The ID of the topic to alter ISRs for
Supported API versions: 2-3
sourcepub fn partitions(&mut self, value: Vec<PartitionData>) -> &mut Self
pub fn partitions(&mut self, value: Vec<PartitionData>) -> &mut Self
Supported API versions: 0-3
Trait Implementations§
source§impl Clone for TopicDataBuilder
impl Clone for TopicDataBuilder
source§fn clone(&self) -> TopicDataBuilder
fn clone(&self) -> TopicDataBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl !Freeze for TopicDataBuilder
impl RefUnwindSafe for TopicDataBuilder
impl Send for TopicDataBuilder
impl Sync for TopicDataBuilder
impl Unpin for TopicDataBuilder
impl UnwindSafe for TopicDataBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)