pub struct JoinGroupRequestBuilder { /* private fields */ }Expand description
Builder for JoinGroupRequest.
Implementations
sourceimpl JoinGroupRequestBuilder
 
impl JoinGroupRequestBuilder
sourcepub fn group_id(&mut self, value: GroupId) -> &mut Self
 
pub fn group_id(&mut self, value: GroupId) -> &mut Self
The group identifier.
Supported API versions: 0-9
sourcepub fn session_timeout_ms(&mut self, value: i32) -> &mut Self
 
pub fn session_timeout_ms(&mut self, value: i32) -> &mut Self
The coordinator considers the consumer dead if it receives no heartbeat after this timeout in milliseconds.
Supported API versions: 0-9
sourcepub fn rebalance_timeout_ms(&mut self, value: i32) -> &mut Self
 
pub fn rebalance_timeout_ms(&mut self, value: i32) -> &mut Self
The maximum time in milliseconds that the coordinator will wait for each member to rejoin when rebalancing the group.
Supported API versions: 1-9
sourcepub fn member_id(&mut self, value: StrBytes) -> &mut Self
 
pub fn member_id(&mut self, value: StrBytes) -> &mut Self
The member id assigned by the group coordinator.
Supported API versions: 0-9
sourcepub fn group_instance_id(&mut self, value: Option<StrBytes>) -> &mut Self
 
pub fn group_instance_id(&mut self, value: Option<StrBytes>) -> &mut Self
The unique identifier of the consumer instance provided by end user.
Supported API versions: 5-9
sourcepub fn protocol_type(&mut self, value: StrBytes) -> &mut Self
 
pub fn protocol_type(&mut self, value: StrBytes) -> &mut Self
The unique name the for class of protocols implemented by the group we want to join.
Supported API versions: 0-9
sourcepub fn protocols(
    &mut self, 
    value: IndexMap<StrBytes, JoinGroupRequestProtocol>
) -> &mut Self
 
pub fn protocols(
    &mut self, 
    value: IndexMap<StrBytes, JoinGroupRequestProtocol>
) -> &mut Self
The list of protocols that the member supports.
Supported API versions: 0-9
sourcepub fn reason(&mut self, value: Option<StrBytes>) -> &mut Self
 
pub fn reason(&mut self, value: Option<StrBytes>) -> &mut Self
The reason why the member (re-)joins the group.
Supported API versions: 8-9
sourcepub fn unknown_tagged_fields(
    &mut self, 
    value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
 
pub fn unknown_tagged_fields(
    &mut self, 
    value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
Other tagged fields
sourcepub fn build(&self) -> Result<JoinGroupRequest, JoinGroupRequestBuilderError>
 
pub fn build(&self) -> Result<JoinGroupRequest, JoinGroupRequestBuilderError>
Trait Implementations
sourceimpl Clone for JoinGroupRequestBuilder
 
impl Clone for JoinGroupRequestBuilder
sourcefn clone(&self) -> JoinGroupRequestBuilder
 
fn clone(&self) -> JoinGroupRequestBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for JoinGroupRequestBuilder
impl Send for JoinGroupRequestBuilder
impl Sync for JoinGroupRequestBuilder
impl Unpin for JoinGroupRequestBuilder
impl UnwindSafe for JoinGroupRequestBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more