pub trait ValueWithSubKey {
type SubKey;
// Required method
fn get_subkey(&self) -> Self::SubKey;
}Expand description
Trait for DupSort table values that contain a subkey.
This trait allows extracting the subkey from a value during database iteration,
enabling proper range queries and filtering on DupSort tables.
Required Associated Types§
Required Methods§
Sourcefn get_subkey(&self) -> Self::SubKey
fn get_subkey(&self) -> Self::SubKey
Extract the subkey from the value.