pub struct ScheduledRelation {
pub id: DependencyId,
pub predecessor: WorkItemId,
pub successor: WorkItemId,
pub kind: DependencyKind,
pub slack_hours: f64,
pub driving: bool,
pub critical: bool,
}Expand description
One outstanding constraint and how tightly it binds its successor.
Fields§
§id: DependencyIdStable dependency identity.
predecessor: WorkItemIdWork providing the constrained event.
successor: WorkItemIdWork whose event is bounded.
kind: DependencyKindFS, SS, FF or SF.
slack_hours: f64How far the successor’s start lies past what this constraint alone requires; zero when it drives.
driving: boolThis constraint sets its successor’s earliest start, or on calendars holds its finish.
critical: boolDriving between two critical activities, so it lies on a critical path.
Trait Implementations§
Source§impl Clone for ScheduledRelation
impl Clone for ScheduledRelation
Source§impl Debug for ScheduledRelation
impl Debug for ScheduledRelation
Source§impl<'de> Deserialize<'de> for ScheduledRelation
impl<'de> Deserialize<'de> for ScheduledRelation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScheduledRelation
impl PartialEq for ScheduledRelation
Source§impl Serialize for ScheduledRelation
impl Serialize for ScheduledRelation
impl StructuralPartialEq for ScheduledRelation
Auto Trait Implementations§
impl Freeze for ScheduledRelation
impl RefUnwindSafe for ScheduledRelation
impl Send for ScheduledRelation
impl Sync for ScheduledRelation
impl Unpin for ScheduledRelation
impl UnsafeUnpin for ScheduledRelation
impl UnwindSafe for ScheduledRelation
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