1#[derive(Debug, Clone)] 2pub struct Attribute { 3 pub name: String, 4 pub value: String, 5} 6 7impl Attribute { 8 9 pub fn new(name: String, value: String) -> Self { 10 11 Attribute { 12 name, value 13 } 14 15 } 16 17}