ValidationStateWithReboundExtra
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| state | [ValidationState](validationstate.md?sid=validators_validation_state_validationstate) | Mutable reference to the current validation state used to track errors and context during the validation process. |
| old_extra | [Extra](../../mod/extra.md?sid=validators_mod_extra) | Stores the previous validation configuration and metadata to be restored after a specific validation scope is exited. |
Constructor
Signature
def ValidationStateWithReboundExtra(
state: &mut ValidationState,
old_extra: [Extra](../../mod/extra.md?sid=validators_mod_extra)
)
Parameters
| Name | Type | Description |
|---|---|---|
| state | &mut ValidationState | A mutable reference to the current validation state. |
| old_extra | [Extra](../../mod/extra.md?sid=validators_mod_extra) | The previous extra context data to be stored. |
Signature
def ValidationStateWithReboundExtra(
state: [ValidationState](validationstate.md?sid=validators_validation_state_validationstate),
old_extra: [Extra](../../mod/extra.md?sid=validators_mod_extra)
)
Parameters
| Name | Type | Description |
|---|---|---|
| state | [ValidationState](validationstate.md?sid=validators_validation_state_validationstate) | The current validation state being modified |
| old_extra | [Extra](../../mod/extra.md?sid=validators_mod_extra) | The previous extra metadata to be restored when this state scope is exited |