Skip to main content
pub type ShardKeyValues<‘a> = SmallVec<[(&‘a str, ShardKeyValue<‘a>); 4]>;

Type alias for shard key values - stack-allocated for up to 4 columns (covers most use cases).

Column names may borrow from the record, like the values, so a record whose columns are only known at runtime (such as a GenericRecord) can name them without allocating; a string literal still works, being ‘static.

Aliased Type

pub struct ShardKeyValues<‘a>  /* private fields */