Skip to main content

validators

Attribute Macro validators 

Source
#[validators]
Expand description

Rebuild typed machines from persisted data.

Apply #[validators(Machine)] to an impl PersistedRow block. Statum expects one is_{state} method per state variant and generates into_machine(), .into_machines(), and .into_machines_by(...) helpers for typed rehydration.