Trait cipherstash_dynamodb::traits::PrimaryKey

source ·
pub trait PrimaryKey: Sealed {
    type Pk;
    type Sk;

    // Required method
    fn into_parts(
        self,
        type_name: &str,
        sort_key_prefix: Option<&str>,
    ) -> PrimaryKeyParts;
}

Required Associated Types§

Required Methods§

source

fn into_parts( self, type_name: &str, sort_key_prefix: Option<&str>, ) -> PrimaryKeyParts

Implementors§

source§

impl PrimaryKey for Pk

§

type Pk = String

§

type Sk = ()

source§

impl PrimaryKey for PkSk

§

type Pk = String

§

type Sk = String