Function ethers_core::utils::serialize

source ·
pub fn serialize<T: Serialize>(t: &T) -> Value
Expand description

Serialize a type.

Panics

If the type returns an error during serialization.