pub struct PlanMilestone {Show 15 fields
pub id: String,
pub status: String,
pub order: i64,
pub priority: String,
pub title: String,
pub slug: String,
pub version: String,
pub rank: u32,
pub depends_on: Vec<String>,
pub blocked_by: Vec<String>,
pub dependents: Vec<String>,
pub claims: Vec<String>,
pub counts: PlanCounts,
pub issues: Vec<String>,
pub outcome: String,
}Expand description
One milestone, as its record declares it and as the two graphs derive it.
Fields§
§id: StringThe identity, which is also the file name; a stable slug, never a version.
status: StringThe derived status.
order: i64Tie-break inside one rank; the roadmap is ordered by rank first.
priority: Stringp0 … p3.
title: StringOne line naming the outcome.
slug: StringThe slug, when the record carries one.
version: StringThe release the milestone belongs to, when it declares one.
rank: u32Its layer in the milestone graph: what orders the roadmap.
depends_on: Vec<String>The milestones it requires.
blocked_by: Vec<String>Those of them that are not DONE. Non-empty means the gate holds every issue of this milestone back, whatever the issue graph says.
dependents: Vec<String>The milestones that require it.
claims: Vec<String>The claims of the repository this outcome makes true.
counts: PlanCountsIts issues, counted by derived status.
issues: Vec<String>Its issues, in id order.
outcome: StringOne line: what is true once the milestone is real.
Trait Implementations§
Source§impl Clone for PlanMilestone
impl Clone for PlanMilestone
Source§fn clone(&self) -> PlanMilestone
fn clone(&self) -> PlanMilestone
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlanMilestone
impl Debug for PlanMilestone
Source§impl<'de> Deserialize<'de> for PlanMilestone
impl<'de> Deserialize<'de> for PlanMilestone
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>,
impl Eq for PlanMilestone
Source§impl JsonSchema for PlanMilestone
impl JsonSchema for PlanMilestone
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for PlanMilestone
impl PartialEq for PlanMilestone
Source§fn eq(&self, other: &PlanMilestone) -> bool
fn eq(&self, other: &PlanMilestone) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for PlanMilestone
impl Serialize for PlanMilestone
impl StructuralPartialEq for PlanMilestone
Auto Trait Implementations§
impl Freeze for PlanMilestone
impl RefUnwindSafe for PlanMilestone
impl Send for PlanMilestone
impl Sync for PlanMilestone
impl Unpin for PlanMilestone
impl UnsafeUnpin for PlanMilestone
impl UnwindSafe for PlanMilestone
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
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
key and return true if they are equal.