pub fn from_value<T: DeserializeOwned>(
value: ConstValue,
) -> Result<T, DeserializerError>
Expand description
Interpret a ConstValue
as an instance of type T
.
pub fn from_value<T: DeserializeOwned>(
value: ConstValue,
) -> Result<T, DeserializerError>
Interpret a ConstValue
as an instance of type T
.