1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct TagValue {
    pub tag: String,
    pub value: String,
}

impl TagValue {
    pub fn new(tag: &str, value: &str) -> Self {
        TagValue {
            tag: tag.to_string(),
            value: value.to_string(),
        }
    }
}