pub struct ObligationTally {
pub lapsed: u64,
pub overdue: u64,
pub unreadable: Vec<GovernanceLogId>,
}Expand description
Obligations past their due date, counted for the dashboard (0.72)
Fields§
§lapsed: u64Missed, recorded as lapsed, and still owed
overdue: u64Open and past due, not yet recorded as lapsed
unreadable: Vec<GovernanceLogId>Obligations whose record could not be read, so they are not counted
(0.87), by id; see UnreadableObligations
Implementations§
Trait Implementations§
Source§impl Clone for ObligationTally
impl Clone for ObligationTally
Source§impl Debug for ObligationTally
impl Debug for ObligationTally
Source§impl Default for ObligationTally
impl Default for ObligationTally
Source§impl<'de> Deserialize<'de> for ObligationTally
impl<'de> Deserialize<'de> for ObligationTally
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObligationTally
Source§impl From<&[ResolvedObligation]> for ObligationTally
impl From<&[ResolvedObligation]> for ObligationTally
Source§fn from(rows: &[ResolvedObligation]) -> Self
fn from(rows: &[ResolvedObligation]) -> Self
Lapsed and overdue counts, for the dashboard
Source§impl PartialEq for ObligationTally
impl PartialEq for ObligationTally
Source§impl Serialize for ObligationTally
impl Serialize for ObligationTally
impl StructuralPartialEq for ObligationTally
Auto Trait Implementations§
impl Freeze for ObligationTally
impl RefUnwindSafe for ObligationTally
impl Send for ObligationTally
impl Sync for ObligationTally
impl Unpin for ObligationTally
impl UnsafeUnpin for ObligationTally
impl UnwindSafe for ObligationTally
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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.