pub enum ObligationState {
Pending,
Active,
Satisfied,
Violated,
Waived,
Expired,
}Expand description
Lifecycle state of a single obligation.
Variants§
Pending
Created but not yet active (waiting for trigger condition).
Active
Currently active — being tracked against deadline.
Satisfied
The obligatory action was performed. Terminal.
Violated
Deadline exceeded without satisfaction, or prohibited action occurred. Terminal.
Waived
Obligation formally waived by an authorized agent. Terminal.
Expired
Deadline reached, obligation no longer enforceable (different from Violated in jurisdictions that distinguish lapse from breach). Terminal.
Implementations§
Trait Implementations§
Source§impl Clone for ObligationState
impl Clone for ObligationState
Source§fn clone(&self) -> ObligationState
fn clone(&self) -> ObligationState
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 moreimpl Copy for ObligationState
Source§impl Debug for ObligationState
impl Debug for ObligationState
impl Eq for ObligationState
Source§impl PartialEq for ObligationState
impl PartialEq for ObligationState
impl StructuralPartialEq for ObligationState
Auto Trait Implementations§
impl Freeze for ObligationState
impl RefUnwindSafe for ObligationState
impl Send for ObligationState
impl Sync for ObligationState
impl Unpin for ObligationState
impl UnsafeUnpin for ObligationState
impl UnwindSafe for ObligationState
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