pub struct Classification {
pub relationship: u64,
pub global_id: Option<String>,
pub source: String,
pub type_object: Option<u64>,
pub target: u64,
pub kind: String,
pub identification: Option<String>,
pub name: Option<String>,
pub location: Option<String>,
pub notation: Vec<String>,
pub parents: Vec<u64>,
pub system: Option<ClassificationSystem>,
}Expand description
One classification that applies to an object.
Fields§
§relationship: u64The IfcRelAssociatesClassification.
global_id: Option<String>The relationship’s GlobalId.
source: Stringoccurrence: associated with the queried object; type: with its
type object.
type_object: Option<u64>For type, the type object’s id.
target: u64The RelatingClassification.
kind: Stringreference (an IfcClassificationReference), system (an
IfcClassification) or notation (an IFC2X3
IfcClassificationNotation).
identification: Option<String>A reference’s Identification (IFC2X3 ItemReference).
name: Option<String>A reference’s Name.
location: Option<String>A reference’s Location.
notation: Vec<String>A notation’s facet values, in file order; empty otherwise.
parents: Vec<u64>The references above a reference target, nearest first.
system: Option<ClassificationSystem>The system at the top: the target itself for system, the end of
the ReferencedSource chain for reference when it ends in one.
Trait Implementations§
Source§impl Clone for Classification
impl Clone for Classification
Source§fn clone(&self) -> Classification
fn clone(&self) -> Classification
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 Classification
impl Debug for Classification
Source§impl PartialEq for Classification
impl PartialEq for Classification
impl StructuralPartialEq for Classification
Auto Trait Implementations§
impl Freeze for Classification
impl RefUnwindSafe for Classification
impl Send for Classification
impl Sync for Classification
impl Unpin for Classification
impl UnsafeUnpin for Classification
impl UnwindSafe for Classification
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