pub trait MergeTag {
type Merged: SplitTag;
// Required method
fn merge_tag(self, tag: Tag) -> Self::Merged;
}
Expand description
The counterpart of SplitTag
.
Required Associated Types§
Required Methods§
sourcefn merge_tag(self, tag: Tag) -> Self::Merged
fn merge_tag(self, tag: Tag) -> Self::Merged
Merge a generic Tag
back into the remainder of SplitTag::split_tag
.
Restores the original representation merged with the contents of
tag
for further processing, e.g. writing back into a file.
Multi-valued items in tag
with identical keys might get lost
depending on the support for multi-valued fields in self
.