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

Implementations§

The partition index.

Supported API versions: 0-9

The error code, or 0 if there was no error.

Supported API versions: 0-9

The base offset.

Supported API versions: 0-9

The timestamp returned by broker after appending the messages. If CreateTime is used for the topic, the timestamp will be -1. If LogAppendTime is used for the topic, the timestamp will be the broker local time when the messages are appended.

Supported API versions: 2-9

The log start offset.

Supported API versions: 5-9

The batch indices of records that caused the batch to be dropped

Supported API versions: 8-9

The global error message summarizing the common root cause of the records that caused the batch to be dropped

Supported API versions: 8-9

Other tagged fields

Builds a new PartitionProduceResponse.

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
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.