#[non_exhaustive]pub struct Lag {
pub id: EntityId,
pub duration: Option<String>,
pub ratio: Option<f64>,
pub duration_type: Option<DurationType>,
pub name: Option<String>,
}Expand description
The lag between two sequenced tasks.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: EntityIdThe IfcLagTime entity.
duration: Option<String>The lag as an authored ISO 8601 duration, when stated as a duration.
ratio: Option<f64>The lag as a ratio, when stated as one.
IfcTimeOrRatioSelect admits both. A ratio lag means “start when the
predecessor is 50% done” and cannot be converted to a duration without
knowing that task’s own duration.
duration_type: Option<DurationType>IfcLagTime.DurationType: whether the lag counts working time or
elapsed time (#236). Required by the schema; None when the record
leaves it unset or states a token outside IfcTaskDurationEnum.
name: Option<String>IfcSchedulingTime.Name, as authored (#236).
Trait Implementations§
impl StructuralPartialEq for Lag
Auto Trait Implementations§
impl Freeze for Lag
impl RefUnwindSafe for Lag
impl Send for Lag
impl Sync for Lag
impl Unpin for Lag
impl UnsafeUnpin for Lag
impl UnwindSafe for Lag
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