Macrosยง
- primitive_
stats_ ๐rust_ type - This macro implements the
RustType
trait for all variants ofPrimitiveStats
. - stats_
primitive ๐ - This macro implements the
ColumnStats
trait for all variants ofPrimitiveStats
.
Structsยง
- Primitive
Stats - Statistics about a primitive non-optional column.
Enumsยง
- Primitive
Stats Variants - Enum wrapper around
PrimitiveStats
for each variant that we support. - Truncate
Bound - Whether a truncated value should be a lower or upper bound on the original.
Constantsยง
- TRUNCATE_
LEN - The length to truncate
Vec<u8>
andString
stats to.
Functionsยง
- any_
primitive_ ๐stats - Returns a
Strategy
for generating arbitraryPrimitiveStats
. - any_
primitive_ ๐vec_ u8_ stats - Returns a
Strategy
for generating arbitraryPrimitiveStats<Vec<u8>>
. - truncate_
bytes - Truncates a u8 slice to the given maximum byte length.
- truncate_
string - Truncates a string to the given maximum byte length.