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