Expand description
Implementations of serde::Deserialize for object::WafObject and
object::WafMap.
This module also provides Limits for applying constraints during deserialization,
similar to the PHP extension’s dd_mpack_limits structure.
Structs§
- Limited
Result - The result of deserializing with limits.
- Limits
- Limits applied during deserialization to prevent excessive resource usage.
Constants§
- DEFAULT_
MAX_ DEPTH - Default maximum depth (21 levels).
- DEFAULT_
MAX_ ELEMENTS - Default maximum elements (2048 elements).
- DEFAULT_
MAX_ STRING_ LENGTH - Default maximum string length (4096 bytes).
Functions§
- deserialize_
with_ limits - Deserialize a
WafObjectfrom a deserializer with the specified limits.