Skip to main content

de_opt_string

Function de_opt_string 

Source
pub fn de_opt_string<'de, D>(d: D) -> Result<Option<String>, D::Error>
where D: Deserializer<'de>,
Expand description

可选字符串,空/空白视为 None(对齐 Java != ''