Function serde_tagged::de::internal::deserialize_seed

source ยท
pub fn deserialize_seed<'de, D, F, S>(
    deserializer: D,
    tag_key: &'static str,
    seed_factory: F,
    tag_seed: S,
) -> Result<F::Value, D::Error>
where D: Deserializer<'de>, F: SeedFactory<'de, S::Value>, S: DeserializeSeed<'de>,
Expand description

Deserialize an internally tagged value with the given tag-seed.

The deserializer controls the underlying data format while the seed-factory specifies the instructions (depending on the tag) on how the value should be deserialized.

See de for more information on SeedFactory and implementations thereof.