mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 20:57:55 +00:00
Eagerly implement common traits for IgnoredAny
This commit is contained in:
@@ -4,7 +4,7 @@ use de::{Deserialize, Deserializer, Visitor, SeqVisitor, MapVisitor, Error};
|
||||
|
||||
/// A target for deserializers that want to ignore data. Implements Deserialize
|
||||
/// and silently eats data given to it.
|
||||
#[derive(Debug)]
|
||||
#[derive(Copy, Clone, Debug, Default)]
|
||||
pub struct IgnoredAny;
|
||||
|
||||
impl<'de> Deserialize<'de> for IgnoredAny {
|
||||
|
||||
Reference in New Issue
Block a user