pub trait AggregatedKeyValue: Parameter {
type Key: Parameter + MaxEncodedLen;
type Value: Parameter + MaxEncodedLen;
// Required method
fn into_parts(self) -> (Self::Key, Option<Self::Value>);
}
Expand description
The aggregated key-value type of a dynamic parameter store.
Required Associated Types§
sourcetype Key: Parameter + MaxEncodedLen
type Key: Parameter + MaxEncodedLen
The aggregated key type.
sourcetype Value: Parameter + MaxEncodedLen
type Value: Parameter + MaxEncodedLen
The aggregated value type.
Required Methods§
sourcefn into_parts(self) -> (Self::Key, Option<Self::Value>)
fn into_parts(self) -> (Self::Key, Option<Self::Value>)
Split the aggregated key-value type into its parts.
Object Safety§
This trait is not object safe.