pub enum Tagging {
Untagged,
External,
Internal {
tag: String,
},
Adjacent {
tag: String,
content: String,
},
}
Expand description
A tagging of an enum.
Corresponds to the serde enum representations.
Variants§
Trait Implementations§
impl Eq for Tagging
impl StructuralPartialEq for Tagging
Auto Trait Implementations§
impl Freeze for Tagging
impl RefUnwindSafe for Tagging
impl Send for Tagging
impl Sync for Tagging
impl Unpin for Tagging
impl UnwindSafe for Tagging
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more