pub struct ResolvedTarget {
pub project: String,
pub cwd: String,
pub interval_seconds: u64,
pub failure_limit: u32,
pub mission: Option<String>,
}Expand description
One mission drain target as resolved by the Python fno config active-backlog --json helper (an active mission + the epic’s workspace path).
Fields§
§project: StringThe mission epic’s own project (for keying + cwd resolution).
cwd: StringThe epic project’s cwd - roots the loop’s journal + node-global reads.
interval_seconds: u64§failure_limit: u32§mission: Option<String>The active mission’s epic id (the drain’s advance --epic argument).
Optional only so a malformed receipt deserializes; a target with no
mission is skipped by the supervisor.
Trait Implementations§
Source§impl Clone for ResolvedTarget
impl Clone for ResolvedTarget
Source§fn clone(&self) -> ResolvedTarget
fn clone(&self) -> ResolvedTarget
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 ResolvedTarget
impl Debug for ResolvedTarget
Source§impl<'de> Deserialize<'de> for ResolvedTarget
impl<'de> Deserialize<'de> for ResolvedTarget
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
Auto Trait Implementations§
impl Freeze for ResolvedTarget
impl RefUnwindSafe for ResolvedTarget
impl Send for ResolvedTarget
impl Sync for ResolvedTarget
impl Unpin for ResolvedTarget
impl UnsafeUnpin for ResolvedTarget
impl UnwindSafe for ResolvedTarget
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