pub struct BlockedUnit {
pub id: String,
pub title: String,
pub reason: String,
pub blocker: Option<AutonomyBlockerCode>,
pub decisions: Vec<String>,
}Expand description
A unit that was excluded from dispatch.
Fields§
§id: String§title: String§reason: String§blocker: Option<AutonomyBlockerCode>Canonical autonomy blocker code when this blocked reason maps to the scheduler-visible autonomy contract.
decisions: Vec<String>Unresolved decision prompts when blocker == Some(UnresolvedDecision).
Trait Implementations§
Source§impl Clone for BlockedUnit
impl Clone for BlockedUnit
Source§fn clone(&self) -> BlockedUnit
fn clone(&self) -> BlockedUnit
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 BlockedUnit
impl Debug for BlockedUnit
Source§impl PartialEq for BlockedUnit
impl PartialEq for BlockedUnit
Source§fn eq(&self, other: &BlockedUnit) -> bool
fn eq(&self, other: &BlockedUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockedUnit
Auto Trait Implementations§
impl Freeze for BlockedUnit
impl RefUnwindSafe for BlockedUnit
impl Send for BlockedUnit
impl Sync for BlockedUnit
impl Unpin for BlockedUnit
impl UnsafeUnpin for BlockedUnit
impl UnwindSafe for BlockedUnit
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