Trait garage_table::schema::Entry [−][src]
pub trait Entry<P: PartitionKey, S: SortKey>: Crdt + PartialEq + Clone + Serialize + for<'de> Deserialize<'de> + Send + Sync { fn partition_key(&self) -> &P; fn sort_key(&self) -> &S; fn is_tombstone(&self) -> bool { ... } }
Expand description
Trait for an entry in a table. It must be sortable and partitionnable.
Required methods
fn partition_key(&self) -> &P
[src]
fn partition_key(&self) -> &P
[src]Get the key used to partition
Provided methods
fn is_tombstone(&self) -> bool
[src]
fn is_tombstone(&self) -> bool
[src]Is the entry a tombstone? Default implementation always return false