0.5.0
This commit is contained in:
14
kb_lib/src/db/entities/db_metadata.rs
Normal file
14
kb_lib/src/db/entities/db_metadata.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
// file: kb_lib/src/db/entities/db_metadata.rs
|
||||
|
||||
//! Metadata table entity.
|
||||
|
||||
/// Persisted metadata row.
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, sqlx::FromRow)]
|
||||
pub struct KbDbMetadataEntity {
|
||||
/// Metadata key.
|
||||
pub key: std::string::String,
|
||||
/// Metadata value.
|
||||
pub value: std::string::String,
|
||||
/// Last update timestamp encoded as RFC3339 UTC text.
|
||||
pub updated_at: std::string::String,
|
||||
}
|
||||
Reference in New Issue
Block a user