Skip to main content

Crate phasesmith_model

Crate phasesmith_model 

Source
Expand description

Application-neutral owned records shared by scripting and native hosts.

These types describe validated live domain state. Persistence wire records, migrations, PyO3 objects, and Tauri command payloads deliberately live in adapter crates instead of being derived directly from this model.

Structs§

CapabilityDiagnostic
One host-capability diagnostic tied to a stable phase.
ExperimentRecord
Constant-wavelength experiment shared by native workflows and adapters.
FixedWavelengthSpectrum
Validated fixed radiation components in input order.
HistogramRecord
One independently observed dataset in a multi-histogram project.
HostCapabilities
Provider versions available to one application host.
PatternRecord
Owned observed powder pattern for one histogram.
ProjectRecord
Revisioned application-neutral project snapshot.
ProviderRequirement
Exact external provider capability required by a phase.
RecordId
Stable project-owned identifier used for projects, histograms, and phases.
StructuralPhaseRecord
One validated structural phase and its optional extension requirements.

Enums§

CapabilityReason
Stable reason a project capability is unavailable to a host.
DomainError
Invalid native domain or project data.
RadiationDefinition
Radiation attached to one constant-wavelength histogram.
RadiationProbe
X-ray or neutron radiation selection.