pub fn deserialize<'de, D, T>(deserializer: D) -> Result<Option<T>, D::Error>where
D: Deserializer<'de>,
T: DeserializeOwned,
Expand description
Deserialize value wrapped in Some(T)
pub fn deserialize<'de, D, T>(deserializer: D) -> Result<Option<T>, D::Error>where
D: Deserializer<'de>,
T: DeserializeOwned,
Deserialize value wrapped in Some(T)