diff --git a/serde/src/private/de.rs b/serde/src/private/de.rs index c146539e..6c81b720 100644 --- a/serde/src/private/de.rs +++ b/serde/src/private/de.rs @@ -904,7 +904,9 @@ mod content { /// Not public API. pub struct TagOrContentFieldVisitor { + /// Name of the tag field of the adjacently tagged enum pub tag: &'static str, + /// Name of the content field of the adjacently tagged enum pub content: &'static str, } @@ -979,7 +981,9 @@ mod content { /// Not public API. pub struct TagContentOtherFieldVisitor { + /// Name of the tag field of the adjacently tagged enum pub tag: &'static str, + /// Name of the content field of the adjacently tagged enum pub content: &'static str, }