Function bitflags::external::serde::deserialize
source ยท pub fn deserialize<'de, B: Flags, D: Deserializer<'de>>(
deserializer: D,
) -> Result<B, D::Error>
Expand description
Deserialize a set of flags from a human-readable string or their underlying bits.
Any unknown bits will be retained.