pub fn serialize<S>(
state_mutability: &StateMutability,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Expand description
Serializes a StateMutability
as a single-field struct (stateMutability
).
See the module-level documentation for more information.