pub struct CapacityDetail {
pub heading: String,
pub fields: Vec<(String, String)>,
pub diagnostics: Vec<String>,
pub snapshot: Option<CapacitySnapshotView>,
}Expand description
The Capacity tab’s detail pane (WP06 T030/T033): the selected scope’s shared calculation, its findings with their remedies, and — for a cycle scope with a closed snapshot — the immutable close evidence beside the live values.
Fields§
§heading: StringThe pane’s heading: the scope’s resolved display label.
fields: Vec<(String, String)>The calculation’s own fields, in tix capacity calculate’s order.
diagnostics: Vec<String>Each finding, rendered through crate::capacity::warning::CapacityWarning::render
— its reason and its remedy, one string per line.
snapshot: Option<CapacitySnapshotView>The immutable close evidence, Some exactly when the scope is a cycle with a
recorded snapshot.
Trait Implementations§
Source§impl Clone for CapacityDetail
impl Clone for CapacityDetail
Source§impl Debug for CapacityDetail
impl Debug for CapacityDetail
Source§impl Default for CapacityDetail
impl Default for CapacityDetail
impl Eq for CapacityDetail
Source§impl PartialEq for CapacityDetail
impl PartialEq for CapacityDetail
impl StructuralPartialEq for CapacityDetail
Auto Trait Implementations§
impl Freeze for CapacityDetail
impl RefUnwindSafe for CapacityDetail
impl Send for CapacityDetail
impl Sync for CapacityDetail
impl Unpin for CapacityDetail
impl UnsafeUnpin for CapacityDetail
impl UnwindSafe for CapacityDetail
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