#[non_exhaustive]pub struct ControlDraft<'a> {
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub object_type: Option<&'a str>,
pub identification: Option<&'a str>,
pub status: Option<&'a str>,
pub long_description: Option<&'a str>,
pub life_cycle_phase: Option<&'a str>,
}Expand description
Attributes shared by every control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<&'a str>Name.
description: Option<&'a str>Description.
object_type: Option<&'a str>ObjectType, slot 4. Required when the predefined type is
USERDEFINED.
identification: Option<&'a str>Identification, slot 5: the permit or order number.
status: Option<&'a str>Status, slot 7. Not declared by IfcPerformanceHistory.
long_description: Option<&'a str>LongDescription, slot 8. Not declared by
IfcPerformanceHistory.
life_cycle_phase: Option<&'a str>LifeCyclePhase, slot 6. Required by
IfcPerformanceHistory and declared by no other control.
Implementations§
Source§impl<'a> ControlDraft<'a>
impl<'a> ControlDraft<'a>
Sourcepub fn name(self, value: &'a str) -> Self
pub fn name(self, value: &'a str) -> Self
Sets Self::name: Name.
Sourcepub fn description(self, value: &'a str) -> Self
pub fn description(self, value: &'a str) -> Self
Sets Self::description: Description.
Sourcepub fn object_type(self, value: &'a str) -> Self
pub fn object_type(self, value: &'a str) -> Self
Sets Self::object_type: ObjectType, slot 4. Required when the predefined type is USERDEFINED.
Sourcepub fn identification(self, value: &'a str) -> Self
pub fn identification(self, value: &'a str) -> Self
Sets Self::identification: Identification, slot 5: the permit or order number.
Sourcepub fn status(self, value: &'a str) -> Self
pub fn status(self, value: &'a str) -> Self
Sets Self::status: Status, slot 7. Not declared by IfcPerformanceHistory.
Sourcepub fn long_description(self, value: &'a str) -> Self
pub fn long_description(self, value: &'a str) -> Self
Sets Self::long_description: LongDescription, slot 8. Not declared by IfcPerformanceHistory.
Sourcepub fn life_cycle_phase(self, value: &'a str) -> Self
pub fn life_cycle_phase(self, value: &'a str) -> Self
Sets Self::life_cycle_phase: LifeCyclePhase, slot 6. Required by IfcPerformanceHistory and declared by no other control.