Skip to content

Commit

Permalink
function属性を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
sorami committed Dec 11, 2023
1 parent b6f29fc commit 77da9bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nusamai-plateau/src/models/cityfurniture.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use citygml::{CityGMLElement, GeometryRef};
use citygml::{CityGMLElement, Code, GeometryRef};

#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Default, Debug, CityGMLElement)]
Expand All @@ -11,4 +11,7 @@ pub struct CityFurniture {

#[citygml(path = b"frn:class")]
pub class: Option<String>,

#[citygml(path = b"frn:function")]
pub function: Vec<Code>,
}

0 comments on commit 77da9bb

Please sign in to comment.