pub struct ResourceTimeDraft<'a> { /* private fields */ }Expand description
Staged fields for authoring an IfcResourceTime before it is committed
through ResourceEditor.
Implementations§
Source§impl<'a> ResourceTimeDraft<'a>
impl<'a> ResourceTimeDraft<'a>
Sourcepub fn schedule_work(self, value: &'a str) -> Self
pub fn schedule_work(self, value: &'a str) -> Self
Sets the ScheduleWork duration.
Sourcepub fn schedule_usage(self, value: f64) -> Self
pub fn schedule_usage(self, value: f64) -> Self
Sets the ScheduleUsage ratio.
Sourcepub fn schedule_start(self, value: &'a str) -> Self
pub fn schedule_start(self, value: &'a str) -> Self
Sets the ScheduleStart date-time.
Sourcepub fn schedule_finish(self, value: &'a str) -> Self
pub fn schedule_finish(self, value: &'a str) -> Self
Sets the ScheduleFinish date-time.
Sourcepub fn is_over_allocated(self, value: bool) -> Self
pub fn is_over_allocated(self, value: bool) -> Self
Sets the IsOverAllocated flag.
Sourcepub fn status_time(self, value: &'a str) -> Self
pub fn status_time(self, value: &'a str) -> Self
Sets the StatusTime date-time.
Sourcepub fn actual_work(self, value: &'a str) -> Self
pub fn actual_work(self, value: &'a str) -> Self
Sets the ActualWork duration.
Sourcepub fn actual_usage(self, value: f64) -> Self
pub fn actual_usage(self, value: f64) -> Self
Sets the ActualUsage ratio.
Sourcepub fn actual_start(self, value: &'a str) -> Self
pub fn actual_start(self, value: &'a str) -> Self
Sets the ActualStart date-time.
Sourcepub fn actual_finish(self, value: &'a str) -> Self
pub fn actual_finish(self, value: &'a str) -> Self
Sets the ActualFinish date-time.
Sourcepub fn remaining_work(self, value: &'a str) -> Self
pub fn remaining_work(self, value: &'a str) -> Self
Sets the RemainingWork duration.
Sourcepub fn remaining_usage(self, value: f64) -> Self
pub fn remaining_usage(self, value: f64) -> Self
Sets the RemainingUsage ratio.
Sourcepub fn completion(self, value: f64) -> Self
pub fn completion(self, value: f64) -> Self
Sets the Completion percentage.
Trait Implementations§
Source§impl<'a> Clone for ResourceTimeDraft<'a>
impl<'a> Clone for ResourceTimeDraft<'a>
Source§impl<'a> Debug for ResourceTimeDraft<'a>
impl<'a> Debug for ResourceTimeDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResourceTimeDraft<'a>
impl<'a> RefUnwindSafe for ResourceTimeDraft<'a>
impl<'a> Send for ResourceTimeDraft<'a>
impl<'a> Sync for ResourceTimeDraft<'a>
impl<'a> Unpin for ResourceTimeDraft<'a>
impl<'a> UnsafeUnpin for ResourceTimeDraft<'a>
impl<'a> UnwindSafe for ResourceTimeDraft<'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