pub struct GraphNode {
pub issue_number: u32,
pub title: String,
pub area: String,
pub predicted_files: Vec<String>,
pub has_migration: bool,
pub complexity: String,
pub state: NodeState,
pub pr_number: Option<u32>,
pub run_id: Option<String>,
pub issue: Option<PipelineIssue>,
pub target_repo: Option<String>,
}Expand description
A node in the dependency graph, holding all metadata for scheduling.
Fields§
§issue_number: u32§title: String§area: String§predicted_files: Vec<String>§has_migration: bool§complexity: String§state: NodeState§pr_number: Option<u32>§run_id: Option<String>§issue: Option<PipelineIssue>§target_repo: Option<String>Target repo name for multi-repo routing. Persisted separately from issue
so it survives DB round-trips (where issue is None).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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