pub struct Property {Show 14 fields
pub id: u64,
pub name: String,
pub type_name: String,
pub kind: String,
pub value_type: Option<String>,
pub unit: Option<u64>,
pub value: Tagged,
pub enumeration: Option<Enumeration>,
pub bounds: Option<Bounds>,
pub table: Option<Table>,
pub usage: Option<String>,
pub discrimination: Option<String>,
pub quality: Option<String>,
pub members: Vec<Property>,
}Expand description
One property, quantity or predefined-set attribute.
Fields§
§id: u64The property or quantity entity; for a predefined set’s attribute, which is no entity, the set’s id.
name: StringName, or the attribute name of a predefined set.
type_name: StringThe entity type of Self::id, upper-case:
IFCPROPERTYSINGLEVALUE, IFCQUANTITYLENGTH, …
kind: StringThe value form: value (one value, null when unset), enumerated,
list, bounded, table, reference or complex.
value_type: Option<String>The declared IFC value type (IFCLENGTHMEASURE), when there is one.
unit: Option<u64>The unit entity the property states (Unit); None when the
project default applies or no unit does. Resolve either with
IfcModel::resolve_unit.
value: Taggedvalue: the value, typed. enumerated: the selected values as a
list. list: the values as a list. reference: the target as a
ref, or null. bounded, table, complex: null, see the
fields below.
enumeration: Option<Enumeration>enumerated: the IfcPropertyEnumeration the values come from.
bounds: Option<Bounds>bounded: the bounds and set point.
table: Option<Table>table: the rows and units.
usage: Option<String>reference: UsageName; complex: UsageName or Usage.
discrimination: Option<String>complex quantity: Discrimination.
quality: Option<String>complex quantity: Quality.
members: Vec<Property>complex: its members, each resolved as a property.