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 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.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for TaskTime<'m>
impl<'m> RefUnwindSafe for TaskTime<'m>
impl<'m> Send for TaskTime<'m>
impl<'m> Sync for TaskTime<'m>
impl<'m> Unpin for TaskTime<'m>
impl<'m> UnsafeUnpin for TaskTime<'m>
impl<'m> UnwindSafe for TaskTime<'m>
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