pub struct Route {
pub name: String,
pub classes: Option<Vec<Class>>,
pub nodes: Option<Vec<String>>,
pub lap: Option<(i64, i64)>,
pub complexity: Option<(i64, i64)>,
pub tier: Option<(i64, i64)>,
pub agent: Option<String>,
pub model: Option<String>,
pub escalate: Option<Escalate>,
pub scope: Option<Vec<String>>,
pub approval: Approval,
}Fields§
§name: StringFor reading a replay. Defaults to the route’s position.
classes: Option<Vec<Class>>§nodes: Option<Vec<String>>Workflow nodes this route serves: a qualified name, or */leaf to
match one node wherever it was called from. None matches only a
dispatch that names no node, so an existing policy keeps its behaviour
exactly rather than absorbing every node into its catch-all.
lap: Option<(i64, i64)>Laps the unit has completed, as an inclusive range.
complexity: Option<(i64, i64)>§tier: Option<(i64, i64)>§agent: Option<String>§model: Option<String>§escalate: Option<Escalate>§scope: Option<Vec<String>>Overrides the class’s own globs. Empty means no bound.
approval: ApprovalTrait Implementations§
impl StructuralPartialEq for Route
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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