Trait cw_storage_plus::PrimaryKey[][src]

pub trait PrimaryKey<'a>: Clone {
    type Prefix: Prefixer<'a>;
    type SubPrefix: Prefixer<'a>;
    fn key(&self) -> Vec<&[u8]>;

    fn joined_key(&self) -> Vec<u8> { ... }
}

Associated Types

Required methods

returns a slice of key steps, which can be optionally combined

Provided methods

Implementations on Foreign Types

type safe version to ensure address was validated before use.

owned variant.

Implementors