KeyValue

Type Alias KeyValue 

Source
pub type KeyValue = KeyValue<'static, Owned>;
Expand description

Key-value pair with owned value (Send-safe, for IPC).

Aliased Type§

pub struct KeyValue {
    pub key: String,
    pub value: Value,
}

Fields§

§key: String

The attribute key (name).

§value: Value

The attribute value.

Trait Implementations§

Source§

impl From<&KeyValue<'_, Transient>> for KeyValue

Source§

fn from(value: &KeyValue<'_>) -> Self

Converts to this type from the input type.
Source§

impl From<KeyValue<'_, Transient>> for KeyValue

Source§

fn from(value: KeyValue<'_>) -> Self

Converts to this type from the input type.