alloy_json_abi::serde_state_mutability_compat

Function deserialize

Source
pub fn deserialize<'de, D>(
    deserializer: D,
) -> Result<StateMutability, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,
Expand description

Deserializes a StateMutability, compatible with older JSON ABI versions.

See the module-level documentation for more information.