pub struct ResolvedObligation {
pub obligation: ObligationProjection,
pub resolved: Resolved,
pub overdue: bool,
}Expand description
An obligation with its deadline resolved against the calendar
Fields§
§obligation: ObligationProjection§resolved: Resolved§overdue: boolOpen, and past a date that binds. Derived when read, never stored
Implementations§
Source§impl ResolvedObligation
impl ResolvedObligation
Sourcepub fn new(
obligation: ObligationProjection,
calendar: &Calendar,
decided: &HashSet<GovernanceLogId>,
) -> Self
pub fn new( obligation: ObligationProjection, calendar: &Calendar, decided: &HashSet<GovernanceLogId>, ) -> Self
obligation resolved against calendar; decided holds the
decisions that are attested entries of the log
Sourcepub fn into_listing(self, text: String) -> ObligationListing
pub fn into_listing(self, text: String) -> ObligationListing
The listing, with text from the log
Trait Implementations§
Source§impl Clone for ResolvedObligation
impl Clone for ResolvedObligation
Source§impl Debug for ResolvedObligation
impl Debug for ResolvedObligation
impl Eq for ResolvedObligation
Source§impl PartialEq for ResolvedObligation
impl PartialEq for ResolvedObligation
impl StructuralPartialEq for ResolvedObligation
Auto Trait Implementations§
impl Freeze for ResolvedObligation
impl RefUnwindSafe for ResolvedObligation
impl Send for ResolvedObligation
impl Sync for ResolvedObligation
impl Unpin for ResolvedObligation
impl UnsafeUnpin for ResolvedObligation
impl UnwindSafe for ResolvedObligation
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,
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.