pub struct DataModel {
pub entities: Vec<EntityMetadata>,
pub property_sets: Vec<PropertySet>,
pub quantity_sets: Vec<QuantitySet>,
pub relationships: Vec<Relationship>,
pub classifications: Vec<ClassificationAssociation>,
pub materials: Vec<MaterialAssociation>,
pub documents: Vec<DocumentAssociation>,
pub spatial_hierarchy: SpatialHierarchyData,
pub refused: Option<String>,
}Expand description
Complete data model extracted from IFC file.
Fields§
§entities: Vec<EntityMetadata>Entity metadata for all entities.
property_sets: Vec<PropertySet>Property sets (pset_id -> PropertySet).
quantity_sets: Vec<QuantitySet>Quantity sets (qset_id -> QuantitySet).
relationships: Vec<Relationship>Relationships (type, relating, related[]).
classifications: Vec<ClassificationAssociation>Classification references associated with elements
(IfcRelAssociatesClassification).
materials: Vec<MaterialAssociation>Materials / material layers associated with elements
(IfcRelAssociatesMaterial).
documents: Vec<DocumentAssociation>Documents associated with elements (IfcRelAssociatesDocument).
spatial_hierarchy: SpatialHierarchyDataSpatial hierarchy data with nodes and lookup maps.
refused: Option<String>Set when a table hit its size budget and extraction stopped filling it
(#7675: material rows grow as elements x layers). Such a model cannot
be served: serialize_data_model_to_parquet, the one way every route
sends a data model, refuses it with this reason rather than ship the
truncated table.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataModel
impl RefUnwindSafe for DataModel
impl Send for DataModel
impl Sync for DataModel
impl Unpin for DataModel
impl UnwindSafe for DataModel
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.