Skip to main content

ecitygml_core/model/generics/
int_attribute.rs

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