noodles_vcf/header/record/value/map/
other.rs1pub(crate) mod tag;
4
5pub use self::tag::Tag;
6
7use super::{builder, Inner, Map};
8
9#[derive(Clone, Debug, Eq, PartialEq)]
11pub struct Other {
12 pub(crate) id_tag: Tag,
13}
14
15impl Inner for Other {
16 type StandardTag = tag::Standard;
17 type Builder = builder::Identity;
18}
19
20impl Default for Other {
21 fn default() -> Self {
22 Self { id_tag: tag::ID }
23 }
24}
25
26impl Map<Other> {
27 pub fn new() -> Self {
36 Self::default()
37 }
38
39 pub(crate) fn id_tag(&self) -> &Tag {
40 &self.inner.id_tag
41 }
42}