Skip to main content

Crate use_db_record

Crate use_db_record 

Source
Expand description

§use-db-record

Record, document, and entity identifiers, keys, versions, status, and references.

This crate is part of the use-database facade workspace. It provides small, engine-neutral vocabulary types and metadata containers. It does not connect to databases, execute queries, run migrations, parse SQL, or model engine-specific behavior.

§Example

use use_db_record::{RecordId, RecordRef};

let reference = RecordRef::new(RecordId::new("42").expect("valid record id"));
assert_eq!(reference.id().as_str(), "42");

Record, document, and entity metadata primitives for RustUse.

Structs§

RecordId
RecordKey
RecordRef
A generic record reference.
RecordVersion
A monotonically meaningful record version value.

Enums§

RecordError
Error returned by record metadata constructors.
RecordStatus
Broad record status.