Trait ply_rs::ply::Key

source ·
pub trait Key {
    // Required method
    fn get_key(&self) -> String;
}
Expand description

Convenience trait to assure consistency between the key used for storage and the name of the elment.

Required Methods§

source

fn get_key(&self) -> String

Returns a key under which the element should be stored in a key-value store.

Implementors§