pub struct MetricDraft<'a> {
pub base: ConstraintBaseDraft<'a>,
pub benchmark: Benchmark,
pub value_source: Option<&'a str>,
pub data_value: Option<MetricValueDraft<'a>>,
pub reference_path: Option<EntityId>,
}Expand description
Draft for one IfcMetric.
Fields§
§base: ConstraintBaseDraft<'a>Inherited constraint fields.
benchmark: BenchmarkComparison benchmark.
value_source: Option<&'a str>Optional source label for the data value.
data_value: Option<MetricValueDraft<'a>>Optional preserved metric SELECT value.
reference_path: Option<EntityId>Optional existing or earlier-staged IfcReference.
Trait Implementations§
Source§impl<'a> Clone for MetricDraft<'a>
impl<'a> Clone for MetricDraft<'a>
impl<'a> Copy for MetricDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for MetricDraft<'a>
impl<'a> RefUnwindSafe for MetricDraft<'a>
impl<'a> Send for MetricDraft<'a>
impl<'a> Sync for MetricDraft<'a>
impl<'a> Unpin for MetricDraft<'a>
impl<'a> UnsafeUnpin for MetricDraft<'a>
impl<'a> UnwindSafe for MetricDraft<'a>
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