Struct kafka_protocol::messages::assign_replicas_to_dirs_request::AssignReplicasToDirsRequestBuilder
source · pub struct AssignReplicasToDirsRequestBuilder { /* private fields */ }
Expand description
Builder for AssignReplicasToDirsRequest
.
Implementations§
source§impl AssignReplicasToDirsRequestBuilder
impl AssignReplicasToDirsRequestBuilder
sourcepub fn broker_id(&mut self, value: BrokerId) -> &mut Self
pub fn broker_id(&mut self, value: BrokerId) -> &mut Self
The ID of the requesting broker
Supported API versions: 0
sourcepub fn broker_epoch(&mut self, value: i64) -> &mut Self
pub fn broker_epoch(&mut self, value: i64) -> &mut Self
The epoch of the requesting broker
Supported API versions: 0
sourcepub fn directories(&mut self, value: Vec<DirectoryData>) -> &mut Self
pub fn directories(&mut self, value: Vec<DirectoryData>) -> &mut Self
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<AssignReplicasToDirsRequest, AssignReplicasToDirsRequestBuilderError>
pub fn build( &self ) -> Result<AssignReplicasToDirsRequest, AssignReplicasToDirsRequestBuilderError>
Trait Implementations§
source§impl Clone for AssignReplicasToDirsRequestBuilder
impl Clone for AssignReplicasToDirsRequestBuilder
source§fn clone(&self) -> AssignReplicasToDirsRequestBuilder
fn clone(&self) -> AssignReplicasToDirsRequestBuilder
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 AssignReplicasToDirsRequestBuilder
impl Send for AssignReplicasToDirsRequestBuilder
impl Sync for AssignReplicasToDirsRequestBuilder
impl Unpin for AssignReplicasToDirsRequestBuilder
impl UnwindSafe for AssignReplicasToDirsRequestBuilder
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