We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 471c073 commit cde2991Copy full SHA for cde2991
der/derive/src/lib.rs
@@ -101,6 +101,13 @@
101
//! Note: please open a GitHub Issue if you would like to request support
102
//! for additional ASN.1 types.
103
//!
104
+//! ### `#[asn1(tag_mode = "...")]` attribute: `EXPLICIT` vs `IMPLICIT`
105
+//!
106
+//! This attribute can be used to declare the tagging mode used for a field of a `struct`
107
+//! which derives [`Sequence`] or for a variant of an `enum` which derives [`Choice`].
108
+//! It allows to override the toplevel `tag_mode` attribute, for the fields and variants that
109
+//! specify it.
110
111
//! [`der`]: https://docs.rs/der/
112
//! [`Choice`]: derive@Choice
113
//! [`Sequence`]: derive@Sequence
0 commit comments