#[non_exhaustive]pub enum TaskTimeAnomaly {
MilestoneWithDuration {
task: EntityId,
time: EntityId,
duration: String,
},
NotATaskTime {
task: EntityId,
target: EntityId,
found: String,
},
NotAScheduleTimeControl {
task: EntityId,
assignment: EntityId,
target: EntityId,
found: String,
},
}Expand description
A contradiction between a task and its stated time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MilestoneWithDuration
The task is a milestone but its time states a schedule duration.
IfcTaskTime WR1. A milestone is an instant; a duration contradicts
that, and neither field is authoritative over the other.
Fields
NotATaskTime
TaskTime points at an entity that is not an IfcTaskTime or one
of its subtypes in the task’s release.
Fields
NotAScheduleTimeControl
An IFC2X3 IfcRelAssignsTasks.TimeForTask points at an entity that
is not an IfcScheduleTimeControl (#235).
Trait Implementations§
Source§impl Clone for TaskTimeAnomaly
impl Clone for TaskTimeAnomaly
Source§fn clone(&self) -> TaskTimeAnomaly
fn clone(&self) -> TaskTimeAnomaly
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskTimeAnomaly
impl Debug for TaskTimeAnomaly
impl Eq for TaskTimeAnomaly
Source§impl PartialEq for TaskTimeAnomaly
impl PartialEq for TaskTimeAnomaly
impl StructuralPartialEq for TaskTimeAnomaly
Auto Trait Implementations§
impl Freeze for TaskTimeAnomaly
impl RefUnwindSafe for TaskTimeAnomaly
impl Send for TaskTimeAnomaly
impl Sync for TaskTimeAnomaly
impl Unpin for TaskTimeAnomaly
impl UnsafeUnpin for TaskTimeAnomaly
impl UnwindSafe for TaskTimeAnomaly
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