Function string_or_number_to_u16

Source
pub fn string_or_number_to_u16<'de, D>(deserializer: D) -> Result<u16, D::Error>
where D: Deserializer<'de>,