pub fn deserialize_ref<'de, D, T>(
deserializer: D,
) -> Result<&'static T, D::Error>Expand description
deserialize_ref functions similar to leak!, but it is meant to be used with Serde’s
deserialize_with field attribute.
pub fn deserialize_ref<'de, D, T>(
deserializer: D,
) -> Result<&'static T, D::Error>deserialize_ref functions similar to leak!, but it is meant to be used with Serde’s
deserialize_with field attribute.