pub struct InFlightIssue {
pub number: u32,
pub title: String,
pub area: String,
pub predicted_files: Vec<String>,
pub has_migration: bool,
pub complexity: Complexity,
}Expand description
Metadata about an issue currently running through the pipeline.
Passed to the planner so it can reason about conflicts with in-flight work.
Fields§
§number: u32§title: String§area: String§predicted_files: Vec<String>§has_migration: bool§complexity: ComplexityImplementations§
Source§impl InFlightIssue
impl InFlightIssue
Sourcepub fn from_issue(issue: &PipelineIssue) -> Self
pub fn from_issue(issue: &PipelineIssue) -> Self
Fallback constructor when the planner hasn’t classified this issue.
Trait Implementations§
Source§impl Clone for InFlightIssue
impl Clone for InFlightIssue
Source§fn clone(&self) -> InFlightIssue
fn clone(&self) -> InFlightIssue
Returns a duplicate of the value. Read more
1.0.0 · 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 InFlightIssue
impl Debug for InFlightIssue
Source§impl From<&PlannedIssue> for InFlightIssue
impl From<&PlannedIssue> for InFlightIssue
Source§fn from(pi: &PlannedIssue) -> Self
fn from(pi: &PlannedIssue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InFlightIssue
impl RefUnwindSafe for InFlightIssue
impl Send for InFlightIssue
impl Sync for InFlightIssue
impl Unpin for InFlightIssue
impl UnsafeUnpin for InFlightIssue
impl UnwindSafe for InFlightIssue
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