ecitygml_core/model/generics/generic_attribute_set.rs
1use crate::model::generics::GenericAttributeKind;
2
3#[derive(Debug, Clone, PartialEq)]
4pub struct GenericAttributeSet {
5 pub name: String,
6 pub generic_attributes: Vec<GenericAttributeKind>,
7}
8
9impl GenericAttributeSet {
10 pub fn new(name: String, generic_attributes: Vec<GenericAttributeKind>) -> Self {
11 Self {
12 name,
13 generic_attributes,
14 }
15 }
16}