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

Builder for FetchPartition.

Implementations§

The partition index.

Supported API versions: 0-13

The current leader epoch of the partition.

Supported API versions: 9-13

The message offset.

Supported API versions: 0-13

The epoch of the last fetched record or -1 if there is none

Supported API versions: 12-13

The earliest available offset of the follower replica. The field is only used when the request is sent by the follower.

Supported API versions: 5-13

The maximum bytes to fetch from this partition. See KIP-74 for cases where this limit may not be honored.

Supported API versions: 0-13

Other tagged fields

Builds a new FetchPartition.

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.