#[non_exhaustive]pub struct AppliedValueDraft<'a> {
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub applied_value: Option<EntityId>,
pub unit_basis: Option<EntityId>,
pub applicable_date: Option<&'a str>,
pub fixed_until_date: Option<&'a str>,
pub category: Option<&'a str>,
pub condition: Option<&'a str>,
pub arithmetic_operator: Option<&'a str>,
}Expand description
Draft for one IfcAppliedValue.
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.
applied_value: Option<EntityId>AppliedValue, an IfcAppliedValueSelect reference.
unit_basis: Option<EntityId>UnitBasis, the IfcMeasureWithUnit the value is quoted per.
applicable_date: Option<&'a str>ApplicableDate, an ISO 8601 date written as given.
fixed_until_date: Option<&'a str>FixedUntilDate, an ISO 8601 date written as given.
category: Option<&'a str>Category.
condition: Option<&'a str>Condition.
arithmetic_operator: Option<&'a str>ArithmeticOperator, an IfcArithmeticOperatorEnum token.
Implementations§
Source§impl<'a> AppliedValueDraft<'a>
impl<'a> AppliedValueDraft<'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 applied_value(self, value: EntityId) -> Self
pub fn applied_value(self, value: EntityId) -> Self
Sets Self::applied_value: AppliedValue, an IfcAppliedValueSelect reference.
Sourcepub fn unit_basis(self, value: EntityId) -> Self
pub fn unit_basis(self, value: EntityId) -> Self
Sets Self::unit_basis: UnitBasis, the IfcMeasureWithUnit the value is quoted per.
Sourcepub fn applicable_date(self, value: &'a str) -> Self
pub fn applicable_date(self, value: &'a str) -> Self
Sets Self::applicable_date: ApplicableDate, an ISO 8601 date written as given.
Sourcepub fn fixed_until_date(self, value: &'a str) -> Self
pub fn fixed_until_date(self, value: &'a str) -> Self
Sets Self::fixed_until_date: FixedUntilDate, an ISO 8601 date written as given.
Sourcepub fn category(self, value: &'a str) -> Self
pub fn category(self, value: &'a str) -> Self
Sets Self::category: Category.
Sourcepub fn condition(self, value: &'a str) -> Self
pub fn condition(self, value: &'a str) -> Self
Sets Self::condition: Condition.
Sourcepub fn arithmetic_operator(self, value: &'a str) -> Self
pub fn arithmetic_operator(self, value: &'a str) -> Self
Sets Self::arithmetic_operator: ArithmeticOperator, an IfcArithmeticOperatorEnum token.