pub enum RelaxedConstraint {
Dependency {
dependency: DependencyId,
predecessor: Key,
successor: Key,
relaxation: EdgeRelaxation,
},
Gate {
work: Key,
transition: Transition,
gate: UnmetGate,
},
}Expand description
A constraint that a reviewed change would relax for work the applying actor owns.
Variants§
Dependency
An edge into or out of the actor’s work would be removed or weakened.
Fields
§
dependency: DependencyIdIdentity of the current edge.
§
relaxation: EdgeRelaxationHow the edge would be weakened.
Gate
A gate that is unmet now would no longer hold.
Trait Implementations§
Source§impl Clone for RelaxedConstraint
impl Clone for RelaxedConstraint
Source§impl Debug for RelaxedConstraint
impl Debug for RelaxedConstraint
Source§impl<'de> Deserialize<'de> for RelaxedConstraint
impl<'de> Deserialize<'de> for RelaxedConstraint
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 Display for RelaxedConstraint
impl Display for RelaxedConstraint
Source§impl PartialEq for RelaxedConstraint
impl PartialEq for RelaxedConstraint
Source§impl Serialize for RelaxedConstraint
impl Serialize for RelaxedConstraint
impl StructuralPartialEq for RelaxedConstraint
Auto Trait Implementations§
impl Freeze for RelaxedConstraint
impl RefUnwindSafe for RelaxedConstraint
impl Send for RelaxedConstraint
impl Sync for RelaxedConstraint
impl Unpin for RelaxedConstraint
impl UnsafeUnpin for RelaxedConstraint
impl UnwindSafe for RelaxedConstraint
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