pub struct MilestoneNode {
pub issue: String,
pub title: String,
pub readiness: TaskReadiness,
pub canonical_status: String,
pub wave: Option<u32>,
pub priority: String,
pub parallel_safe: bool,
pub blocked_by: Vec<String>,
pub dependents: Vec<String>,
pub transitive_dependents: u32,
pub scope: Vec<String>,
}Expand description
One issue of a milestone, as a node of its graph.
Fields§
§issue: StringThe issue id.
title: StringOne line naming the outcome.
readiness: TaskReadinessWhere it stands as work.
canonical_status: StringThe canonical status it refines.
wave: Option<u32>The execution wave, absent when a cycle prevents it from having one.
priority: Stringp0 … p3.
parallel_safe: boolWhether it may run beside another issue of its wave.
blocked_by: Vec<String>What is not DONE yet, plus the milestone gate when it applies.
dependents: Vec<String>The issues that wait on it directly.
transitive_dependents: u32How many issues wait on it directly or through another.
scope: Vec<String>The paths it touches.
Trait Implementations§
Source§impl Clone for MilestoneNode
impl Clone for MilestoneNode
Source§fn clone(&self) -> MilestoneNode
fn clone(&self) -> MilestoneNode
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 MilestoneNode
impl Debug for MilestoneNode
Source§impl<'de> Deserialize<'de> for MilestoneNode
impl<'de> Deserialize<'de> for MilestoneNode
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
impl Eq for MilestoneNode
Source§impl JsonSchema for MilestoneNode
impl JsonSchema for MilestoneNode
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MilestoneNode
impl PartialEq for MilestoneNode
Source§fn eq(&self, other: &MilestoneNode) -> bool
fn eq(&self, other: &MilestoneNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MilestoneNode
impl Serialize for MilestoneNode
impl StructuralPartialEq for MilestoneNode
Auto Trait Implementations§
impl Freeze for MilestoneNode
impl RefUnwindSafe for MilestoneNode
impl Send for MilestoneNode
impl Sync for MilestoneNode
impl Unpin for MilestoneNode
impl UnsafeUnpin for MilestoneNode
impl UnwindSafe for MilestoneNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.