Trait cipherstash_dynamodb::traits::Identifiable
source · pub trait Identifiable {
type PrimaryKey: PrimaryKey;
// Required methods
fn get_primary_key(&self) -> Self::PrimaryKey;
fn type_name() -> Cow<'static, str>;
fn sort_key_prefix() -> Option<Cow<'static, str>>;
// Provided methods
fn is_sk_encrypted() -> bool { ... }
fn is_pk_encrypted() -> bool { ... }
}
Required Associated Types§
type PrimaryKey: PrimaryKey
Required Methods§
fn get_primary_key(&self) -> Self::PrimaryKey
fn type_name() -> Cow<'static, str>
fn sort_key_prefix() -> Option<Cow<'static, str>>
Provided Methods§
fn is_sk_encrypted() -> bool
fn is_pk_encrypted() -> bool
Object Safety§
This trait is not object safe.