Skip to main content

to_lowercase

Function to_lowercase 

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

Deserializes a string and converts it to Unicode lowercase.

The adapter applies str::to_lowercase to the deserialized value. This is ordinary lowercasing rather than full Unicode case folding.