pub enum TransitionOutcome {
Accepted {
from: String,
to: String,
from_category: WorkflowCategory,
to_category: WorkflowCategory,
changed: bool,
override_reason: Option<String>,
},
Rejected(WorkflowDiagnostic),
}Expand description
The outcome of judging a transition.
Variants§
Accepted
Legal. changed is false for a same-column transition, which is permitted
and idempotent — no decision to append, no write.
Rejected(WorkflowDiagnostic)
Refused. Nothing is written, including no History entry (contract §3.5).
Trait Implementations§
Source§impl Clone for TransitionOutcome
impl Clone for TransitionOutcome
Source§impl Debug for TransitionOutcome
impl Debug for TransitionOutcome
impl Eq for TransitionOutcome
Source§impl PartialEq for TransitionOutcome
impl PartialEq for TransitionOutcome
impl StructuralPartialEq for TransitionOutcome
Auto Trait Implementations§
impl Freeze for TransitionOutcome
impl RefUnwindSafe for TransitionOutcome
impl Send for TransitionOutcome
impl Sync for TransitionOutcome
impl Unpin for TransitionOutcome
impl UnsafeUnpin for TransitionOutcome
impl UnwindSafe for TransitionOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more