Function acter_core::util::deserialize_some

source ยท
pub fn deserialize_some<'de, T, D>(
    deserializer: D,
) -> Result<Option<T>, D::Error>
where T: Deserialize<'de>, D: Deserializer<'de>,
Expand description

Any value that is present is considered Some value, including null. from https://github.com/serde-rs/serde/issues/984#issuecomment-314143738