pub struct RecordEncodeOptions {
    pub version: i8,
    pub compression: Compression,
}
Expand description

Options for encoding and compressing a batch of records. Note, not all compression algorithms are currently implemented by this library.

Fields

version: i8

Record version, 0, 1, or 2.

compression: Compression

The compression algorithm to use.

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