Skip to main content

ecitygml_core/model/generics/
string_attribute.rs

1#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)]
2pub struct StringAttribute {
3    pub name: String,
4    pub value: String,
5}
6
7impl StringAttribute {
8    pub fn new(name: String, value: String) -> Self {
9        Self { name, value }
10    }
11}