pub struct AssignmentBuilder { /* private fields */ }
Expand description
Builder for Assignment
.
Implementations§
source§impl AssignmentBuilder
impl AssignmentBuilder
sourcepub fn topic_partitions(&mut self, value: Vec<TopicPartitions>) -> &mut Self
pub fn topic_partitions(&mut self, value: Vec<TopicPartitions>) -> &mut Self
The partitions assigned to the member that can be used immediately.
Supported API versions: 0
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes> ) -> &mut Self
Other tagged fields
sourcepub fn build(&self) -> Result<Assignment, AssignmentBuilderError>
pub fn build(&self) -> Result<Assignment, AssignmentBuilderError>
Trait Implementations§
source§impl Clone for AssignmentBuilder
impl Clone for AssignmentBuilder
source§fn clone(&self) -> AssignmentBuilder
fn clone(&self) -> AssignmentBuilder
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 RefUnwindSafe for AssignmentBuilder
impl Send for AssignmentBuilder
impl Sync for AssignmentBuilder
impl Unpin for AssignmentBuilder
impl UnwindSafe for AssignmentBuilder
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