Skip to main content

flat_map_take_entry

Function flat_map_take_entry 

Source
fn flat_map_take_entry<'de>(
    entry: &mut Option<(Content<'de>, Content<'de>)>,
    recognized: &[&str],
) -> Option<(Content<'de>, Content<'de>)>
Expand description

Claims one key-value pair from a FlatMapDeserializer’s field buffer if the field name matches any of the recognized ones.