pub struct DeliveryComputation<'a> {
pub issues: &'a [Issue],
pub blocked_ids: &'a HashSet<String>,
pub now: DateTime<Utc>,
pub milestone_pressure_limit: usize,
}Expand description
Inputs to compute_delivery.
blocked_ids is passed in so this module stays free of a direct
dependency on the Analyzer/IssueGraph surface; the caller supplies
the set of issue IDs that have at least one open blocker.
Fields§
§issues: &'a [Issue]§blocked_ids: &'a HashSet<String>§now: DateTime<Utc>§milestone_pressure_limit: usizeCap on the milestone_pressure list. Matches the existing
--insight-limit default so callers can reuse the same ceiling.
Auto Trait Implementations§
impl<'a> Freeze for DeliveryComputation<'a>
impl<'a> RefUnwindSafe for DeliveryComputation<'a>
impl<'a> Send for DeliveryComputation<'a>
impl<'a> Sync for DeliveryComputation<'a>
impl<'a> Unpin for DeliveryComputation<'a>
impl<'a> UnsafeUnpin for DeliveryComputation<'a>
impl<'a> UnwindSafe for DeliveryComputation<'a>
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