referrerpolicy=no-referrer-when-downgrade
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§

source

type Key: Parameter + MaxEncodedLen

The aggregated key type.

source

type Value: Parameter + MaxEncodedLen

The aggregated value type.

Required Methods§

source

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.

Implementations on Foreign Types§

source§

impl AggregatedKeyValue for ()

§

type Key = ()

§

type Value = ()

source§

fn into_parts(self) -> (Self::Key, Option<Self::Value>)

Implementors§