SerCheck
This enum defines the validation levels for serialization checks, specifying whether subclasses are permitted or if strict type matching is required. It provides options for no validation, strict enforcement against subclasses, and lax validation that allows for subclassing.
Attributes
| Attribute | Type | Description |
|---|---|---|
| None | enum variant | Indicates that no serialization checks are performed, typically used in all contexts except for union choices. |
| Strict | enum variant | Enforces strict serialization validation where subclasses are not permitted. |
| Lax | enum variant | Performs serialization validation while explicitly allowing subclasses. |