pub struct IssueTrace {
pub issue: String,
pub declared: bool,
pub milestone: Option<String>,
pub trunk: Option<String>,
pub branches: Vec<BranchTrace>,
pub commits: usize,
pub complete: bool,
}Expand description
Everything git knows about one issue’s realisation.
Fields§
§issue: StringThe issue id, as the project model spells it.
declared: boolTrue when the project model declares this id. False is not an error and not an
empty answer: it says the id was looked for and the model does not have it, which a
caller must be able to tell apart from “declared, and nothing has realised it yet”.
A repository with no project model at all answers false for every id rather than
refusing, because the branches naming an id are still derivable there.
milestone: Option<String>The milestone the canonical issue record names. Git does not hold this edge and
nothing here derives it: the caller with the index fills it in, and it is null in
a repository whose issue record does not name one.
trunk: Option<String>The trunk every branch was measured against.
branches: Vec<BranchTrace>The branches that name it, local first.
commits: usizeHow many distinct commits the branches hold between them.
complete: boolTrue when every branch’s commits could be derived. False when at least one reached the trunk without a merge commit, so part of the work is not distinguishable.
Trait Implementations§
Source§impl Clone for IssueTrace
impl Clone for IssueTrace
Source§fn clone(&self) -> IssueTrace
fn clone(&self) -> IssueTrace
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 IssueTrace
impl Debug for IssueTrace
Source§impl<'de> Deserialize<'de> for IssueTrace
impl<'de> Deserialize<'de> for IssueTrace
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 IssueTrace
Source§impl JsonSchema for IssueTrace
impl JsonSchema for IssueTrace
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 IssueTrace
impl PartialEq for IssueTrace
Source§fn eq(&self, other: &IssueTrace) -> bool
fn eq(&self, other: &IssueTrace) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for IssueTrace
impl Serialize for IssueTrace
impl StructuralPartialEq for IssueTrace
Auto Trait Implementations§
impl Freeze for IssueTrace
impl RefUnwindSafe for IssueTrace
impl Send for IssueTrace
impl Sync for IssueTrace
impl Unpin for IssueTrace
impl UnsafeUnpin for IssueTrace
impl UnwindSafe for IssueTrace
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.