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§
type Key: Parameter + MaxEncodedLen
type Key: Parameter + MaxEncodedLen
The aggregated key type.
type Value: Parameter + MaxEncodedLen
type Value: Parameter + MaxEncodedLen
The aggregated value type.
Required Methods§
fn 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.