pub fn insert<I>(mut self, tag: Tag, value: I) -> Self
    where
        I: Into<String>,
    {
        self.fields.insert(tag, value.into());
        self
    }
/// Inserts a tag-raw value pair.
///
/// # Examples
///
/// ```
/// use noodles_sam::header::header::{Header, Tag};
///
/// let zn = Tag::Other([b'z', b'n']);
///
/// let header = Header::builder()
///     .insert(zn, String::from("noodles"))
///     .build();
///
/// assert_eq!(header.fields().get(&zn), Some(&String::from("noodles")));
/// ```
Inserts a tag-raw value pair.
Inserts a tag - raw value pair .
pub fn insert<I>(mut self, tag: Tag, value: I) -> Self
    where
        I: Into<String>,
    {
        self.fields.insert(tag, value.into());
        self
    }
pub fn insert < I > ( mut self , tag : Tag , value : I ) -> Self where I : Into < String > , { self . fields . insert ( tag , value . into ( ) ) ; self }
Inserts a tag-raw value pair.
Inserts a tag - raw value pair .
mut self
tag
Tag
value
I
mut self
tag
Tag
value
I
examples
```
use noodles_sam::header::header::{Header, Tag}.



let header = Header::builder()
.insert(zn, String::from("noodles"))
.build().


` ` ` use noodles_sam :: header :: header :: { Header Tag } . let header = Header :: builder () . insert ( zn String :: from ( " noodles " )) . build () .