pub struct CapacitySnapshotView {
pub label: String,
pub fields: Vec<(String, String)>,
}Expand description
A closed cycle’s immutable capacity evidence, as the Capacity tab’s detail draws it (WP06 T033).
The label is the explicit current-vs-historical statement; the fields are the
ones tix capacity snapshot <CYCLE> prints, in that command’s order.
Fields§
§label: StringThe current-vs-historical label, and whether the cycle has been reopened or edited since the close.
fields: Vec<(String, String)>The stored evidence’s own fields, exactly as the close wrote them.
Trait Implementations§
Source§impl Clone for CapacitySnapshotView
impl Clone for CapacitySnapshotView
Source§impl Debug for CapacitySnapshotView
impl Debug for CapacitySnapshotView
Source§impl Default for CapacitySnapshotView
impl Default for CapacitySnapshotView
impl Eq for CapacitySnapshotView
Source§impl PartialEq for CapacitySnapshotView
impl PartialEq for CapacitySnapshotView
impl StructuralPartialEq for CapacitySnapshotView
Auto Trait Implementations§
impl Freeze for CapacitySnapshotView
impl RefUnwindSafe for CapacitySnapshotView
impl Send for CapacitySnapshotView
impl Sync for CapacitySnapshotView
impl Unpin for CapacitySnapshotView
impl UnsafeUnpin for CapacitySnapshotView
impl UnwindSafe for CapacitySnapshotView
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