pub struct InitProducerIdRequestBuilder { /* private fields */ }
Expand description

Builder for InitProducerIdRequest.

Implementations

The transactional id, or null if the producer is not transactional.

Supported API versions: 0-4

The time in ms to wait before aborting idle transactions sent by this producer. This is only relevant if a TransactionalId has been defined.

Supported API versions: 0-4

The producer id. This is used to disambiguate requests if a transactional id is reused following its expiration.

Supported API versions: 3-4

The producer’s current epoch. This will be checked against the producer epoch on the broker, and the request will return an error if they do not match.

Supported API versions: 3-4

Other tagged fields

Builds a new InitProducerIdRequest.

Errors

If a required field has not been initialized.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.