pub struct PropertySet {
pub id: u64,
pub global_id: Option<String>,
pub name: String,
pub type_name: String,
pub source: String,
pub source_id: Option<u64>,
pub properties: Vec<Property>,
}Expand description
One property set, quantity set or predefined property set applying to an object.
Fields§
§id: u64The set’s entity id.
global_id: Option<String>The set’s GlobalId.
name: StringThe set’s Name; a predefined set that states none is named by its
entity (IfcDoorLiningProperties).
type_name: StringThe set’s entity type, upper-case: IFCPROPERTYSET,
IFCELEMENTQUANTITY, or a predefined set such as
IFCDOORLININGPROPERTIES.
source: Stringoccurrence: stated on the queried object; type: held by a type
object’s HasPropertySets (inherited, or the queried type’s own).
source_id: Option<u64>For type, the type object’s id.
properties: Vec<Property>The set’s properties and quantities, in file order. An inherited property overridden by the occurrence is left out.
Trait Implementations§
Source§impl Clone for PropertySet
impl Clone for PropertySet
Source§fn clone(&self) -> PropertySet
fn clone(&self) -> PropertySet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertySet
impl Debug for PropertySet
Source§impl PartialEq for PropertySet
impl PartialEq for PropertySet
impl StructuralPartialEq for PropertySet
Auto Trait Implementations§
impl Freeze for PropertySet
impl RefUnwindSafe for PropertySet
impl Send for PropertySet
impl Sync for PropertySet
impl Unpin for PropertySet
impl UnsafeUnpin for PropertySet
impl UnwindSafe for PropertySet
Blanket Implementations§
Source§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
Mutably borrows from an owned value. Read more