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
Provided methods
fn joined_key(&self) -> Vec<u8>
Implementations on Foreign Types
impl<'a, T: PrimaryKey<'a> + Prefixer<'a>, U: PrimaryKey<'a> + Prefixer<'a>, V: PrimaryKey<'a>> PrimaryKey<'a> for (T, U, V)
impl<'a, T: PrimaryKey<'a> + Prefixer<'a>, U: PrimaryKey<'a> + Prefixer<'a>, V: PrimaryKey<'a>> PrimaryKey<'a> for (T, U, V)
type safe version to ensure address was validated before use.
owned variant.