Skip to main content

Module records

Module records 

Source
Expand description

Stable record creation, parsing, and hash APIs re-exported for runtime users.

Creating record bytes through these helpers does not persist them in a Lace; store ids and record-fact visibility still go through store-backed runtime operations such as store or Lace::memory construction.

Macros§

record
Build and validate a record from a RecordSpec literal.
spec
Build a RecordSpec from Rust literal syntax.

Structs§

BySecret
The single zeroizing owner for canonical private By-secret value (&.<b64a>.H3).
ByValue
Canonical record-facing By value (V.<b64a>.H3).
FieldOccurrence
One borrowed Plex application-field occurrence.
Record
A validated record: verified canonical bytes from one retained source.
RecordHash
RecordMetadata
Borrowed view of a validated record’s canonical non-payload prefix.
RecordSpec
Application-facing record construction intent.

Enums§

RecordCreateError
Error returned by application-facing record construction.
RecordError
Error type for record validation failures.
RecordKind
Record kind identified by the record glyph line.
RecordReadError
A record could not be materialised.

Traits§

IntoRecordBatch
Convert owned or borrowed validated records into a store-operation batch.

Functions§

generate_by_secret
Generate a canonical By-secret value from OS randomness.
new_record
Construct and validate the one record kind implied by caller intent.