pub struct IssueCapacityView {
pub scope: String,
pub issue_line: String,
pub fields: Vec<(String, String)>,
pub diagnostics: Vec<String>,
}Expand description
One capacity scope an issue contributes to, as the detail pane draws it (WP06 T031).
Every figure is a field of the shared DTOs
(crate::capacity::calculate::CapacityCalculation and
crate::capacity::snapshot::CapacitySnapshot); the pane adds styling, never a
fact, and an absent value is - rather than 0.
Fields§
§scope: StringThe scope the figures belong to, cycle Cycle 1`` — the library’s own
resolution, so the name and its stable id are one scope.
issue_line: StringThe issue’s own contribution: its raw estimate, the value it contributes in the scope’s unit, or an explicit statement that it states no estimate.
fields: Vec<(String, String)>The shared calculation’s fields, in tix capacity calculate’s spelling.
diagnostics: Vec<String>The findings that name this issue, or the scope’s own, each with its remedy.
Trait Implementations§
Source§impl Clone for IssueCapacityView
impl Clone for IssueCapacityView
Source§impl Debug for IssueCapacityView
impl Debug for IssueCapacityView
impl Eq for IssueCapacityView
Source§impl PartialEq for IssueCapacityView
impl PartialEq for IssueCapacityView
impl StructuralPartialEq for IssueCapacityView
Auto Trait Implementations§
impl Freeze for IssueCapacityView
impl RefUnwindSafe for IssueCapacityView
impl Send for IssueCapacityView
impl Sync for IssueCapacityView
impl Unpin for IssueCapacityView
impl UnsafeUnpin for IssueCapacityView
impl UnwindSafe for IssueCapacityView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more