mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 16:21:03 +00:00
Pass struct field names to deserializer
This commit is contained in:
@@ -398,7 +398,10 @@ mod deserializer {
|
||||
}
|
||||
}
|
||||
|
||||
fn visit_struct<V>(&mut self, name: &str, mut visitor: V) -> Result<V::Value, Error>
|
||||
fn visit_struct<V>(&mut self,
|
||||
name: &str,
|
||||
_fields: &'static [&'static str],
|
||||
mut visitor: V) -> Result<V::Value, Error>
|
||||
where V: de::Visitor,
|
||||
{
|
||||
match self.stack.pop() {
|
||||
|
||||
Reference in New Issue
Block a user