Expand description
Field-layer persistence DTOs (PersistedField/PersistedCoupling),
re-exported through persistence. Separate file to keep persistence.rs
under the per-file ceiling.
Persistence DTOs for the field layer (Field + Coupling), field-system
Phase 2.
Siblings to the Persisted* types in crate::persistence (re-exported
there), kept in their own file so that module stays under the workspace’s
per-file ceiling.
The flat field-layer enums (extent, lifecycle, selector, response) archive
natively under rkyv. The one recursive piece — the scalar/vector AST
(FieldDefinition, Box-nested) — rides as a
serde-JSON string ([PersistedField::definition_json]) rather than via
rkyv omit_bounds: the kernel AST is deliberately serde-only, the definition
is loaded once and evaluated in memory by quint (no zero-copy benefit), and
a blob keeps the archive flat and the round-trip robust. serde_json is
already a base kernel dependency.
Structs§
- Archived
Persisted Coupling - An archived
PersistedCoupling - Archived
Persisted Field - An archived
PersistedField - Persisted
Coupling - Persisted coupling. Identity + target field + selector + response + strength.
- Persisted
Coupling Resolver - The resolver for an archived
PersistedCoupling - Persisted
Field - Persisted field. Identity + a JSON-encoded definition AST + extent + lifecycle.
- Persisted
Field Resolver - The resolver for an archived
PersistedField
Enums§
- Archived
Persisted Coupling Response - An archived
PersistedCouplingResponse - Archived
Persisted Field Extent - An archived
PersistedFieldExtent - Archived
Persisted Field Lifecycle - An archived
PersistedFieldLifecycle - Archived
Persisted Node Selector - An archived
PersistedNodeSelector - Persisted
Coupling Response - How a coupling’s targets respond to its field (mirrors
graph::CouplingResponse). The six force responses are the recognized core;Opencarries the open-tail families by IRI. NotCopy(theOpenvariant owns aString). - Persisted
Coupling Response Resolver - The resolver for an archived
PersistedCouplingResponse - Persisted
Field Extent - Where a field applies (mirrors
graph::FieldExtent).AttachedToNodestores the node UUID as a string, matchingPersistedNode::node_id/PersistedEdge. - Persisted
Field Extent Resolver - The resolver for an archived
PersistedFieldExtent - Persisted
Field Lifecycle - Field lifecycle state (mirrors
graph::FieldLifecycle). - Persisted
Field Lifecycle Resolver - The resolver for an archived
PersistedFieldLifecycle - Persisted
Node Selector - Which nodes a coupling targets (mirrors
graph::NodeSelector). - Persisted
Node Selector Resolver - The resolver for an archived
PersistedNodeSelector