pub struct TaskTime<'m> { /* private fields */ }Expand description
A borrowed view of an IfcTaskTime.
Implementations§
Source§impl<'m> TaskTime<'m>
impl<'m> TaskTime<'m>
Sourcepub fn is_recurring(&self) -> bool
pub fn is_recurring(&self) -> bool
Whether this is an IfcTaskTimeRecurring (IFC4, IFC4X3) (#235).
Sourcepub fn recurrence_ref(&self) -> Option<EntityId>
pub fn recurrence_ref(&self) -> Option<EntityId>
The IfcTaskTimeRecurring.Recurrence reference; None for a plain
IfcTaskTime (#235).
Sourcepub fn recurrence(&self, model: &Model) -> Option<Recurrence>
pub fn recurrence(&self, model: &Model) -> Option<Recurrence>
The recurrence pattern of an IfcTaskTimeRecurring, read by name
in the task’s release (#235). None for a plain IfcTaskTime, or
when Recurrence (required by the schema) is missing or does not
reference an IfcRecurrencePattern.
Sourcepub fn duration_type(&self) -> Option<DurationType>
pub fn duration_type(&self) -> Option<DurationType>
Whether the duration is working or elapsed time.
Sourcepub fn schedule_duration(&self) -> Option<&'m str>
pub fn schedule_duration(&self) -> Option<&'m str>
The planned duration, as an authored ISO 8601 duration.
Sourcepub fn schedule_start(&self) -> Option<&'m str>
pub fn schedule_start(&self) -> Option<&'m str>
The planned start, as authored.
Sourcepub fn schedule_finish(&self) -> Option<&'m str>
pub fn schedule_finish(&self) -> Option<&'m str>
The planned finish, as authored.
Sourcepub fn early_start(&self) -> Option<&'m str>
pub fn early_start(&self) -> Option<&'m str>
The earliest start, as authored.
Sourcepub fn late_finish(&self) -> Option<&'m str>
pub fn late_finish(&self) -> Option<&'m str>
The latest finish, as authored.
Sourcepub fn free_float(&self) -> Option<&'m str>
pub fn free_float(&self) -> Option<&'m str>
Free float, as an authored ISO 8601 duration.
Sourcepub fn total_float(&self) -> Option<&'m str>
pub fn total_float(&self) -> Option<&'m str>
Total float, as an authored ISO 8601 duration.
Sourcepub fn is_critical(&self) -> Option<bool>
pub fn is_critical(&self) -> Option<bool>
Whether the file marks this task as critical.
Reported as authored: this crate does not compute a critical path, because doing so needs the full sequence graph and a calendar, and a computed answer that disagreed with the file would be indistinguishable from a stated one.
Sourcepub fn actual_start(&self) -> Option<&'m str>
pub fn actual_start(&self) -> Option<&'m str>
The actual start, as authored.
Sourcepub fn actual_finish(&self) -> Option<&'m str>
pub fn actual_finish(&self) -> Option<&'m str>
The actual finish, as authored.
Sourcepub fn actual_duration(&self) -> Option<&'m str>
pub fn actual_duration(&self) -> Option<&'m str>
The actual duration, as authored.
Sourcepub fn completion(&self) -> Option<f64>
pub fn completion(&self) -> Option<f64>
Percent complete, if stated.