Skip to content

Commit

Permalink
feat: add allow_extra attribute to DataQualityAttribute struct and ad…
Browse files Browse the repository at this point in the history
…just method visibility in derive.rs (#37)
  • Loading branch information
miseyu authored Dec 25, 2024
1 parent 1eac330 commit d680654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nusamai-citygml/macros/src/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ fn generate_citygml_impl_for_struct(
}

#[inline(never)]
fn into_object(self) -> Option<::nusamai_citygml::object::Value> {
fn into_object(self) -> Option<::nusamai_citygml::object::Value> {
#into_object_impl
}

Expand Down
1 change: 1 addition & 0 deletions nusamai-plateau/src/models/iur/uro/common.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use nusamai_citygml::{citygml_data, CityGmlElement, Code, Date, Length, Measure, Point, Uri};

#[citygml_data(name = "uro:DataQualityAttribute")]
#[citygml(allow_extra)]
pub struct DataQualityAttribute {
// PLATEAU 3.x compatibility
#[citygml(path = b"uro:srcScale")]
Expand Down

0 comments on commit d680654

Please sign in to comment.