Trait ledb_types::Document
source · pub trait Document {
fn primary_field() -> Identifier { ... }
fn key_fields() -> KeyFields { ... }
}
Expand description
Identified document representation
Provided Methods
sourcefn primary_field() -> Identifier
fn primary_field() -> Identifier
Get the name of primary field
sourcefn key_fields() -> KeyFields
fn key_fields() -> KeyFields
Get other key fields (indexes)