How-to guides

v0.1.6

Each guide covers one task with GuardedStruct: nest structs with sub_field, accept more than one shape with conditional_field, fill and check fields from other fields, use virtual, dynamic and pattern-keyed fields, write validators and your own derive ops, validate input without building a struct, handle and translate errors, inspect and diff structs, use GuardedStruct in an Ash resource, and give a coding agent the rules.

Pick the guide for the job in front of you. The pages below show each one with a short summary.