pub enum UntilRequest {
NextSitting {},
Sitting {
event: CalendarEventId,
},
SittingOn {
date: NaiveDate,
},
Date {
date: NaiveDate,
},
AfterDecision {
decision: GovernanceLogId,
},
AwaitingDecision {
on: String,
},
}Expand description
When an obligation is due, as a request file may say it: agentkit’s
Until, plus two forms the writer resolves or refuses.
Variants§
NextSitting
Until::NextSitting. It rolls forward with every sitting that
does not hear it until the lapse sweep exists; prefer sitting_on.
A struct variant, not a unit one, so unknown fields beside it are
refused (serde does not deny them beside a tagged unit variant)
Sitting
Until::Sitting, by calendar event id
Fields
event: CalendarEventIdSittingOn
The one scheduled sitting (or special sitting) on the calendar
expected on date (UTC), resolved to Until::Sitting at
signing. Refused if there is none, or more than one
Date
AfterDecision
Until::AfterDecision: the decision must already be in the log
Fields
decision: GovernanceLogIdAwaitingDecision
Held: the deadline is a decision that is not taken yet, described
in on. Always refused at signing; replace it with
after_decision once the decision’s id exists
Implementations§
Source§impl UntilRequest
impl UntilRequest
Trait Implementations§
Source§impl Clone for UntilRequest
impl Clone for UntilRequest
Source§impl Debug for UntilRequest
impl Debug for UntilRequest
Source§impl<'de> Deserialize<'de> for UntilRequest
impl<'de> Deserialize<'de> for UntilRequest
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>,
impl Eq for UntilRequest
Source§impl PartialEq for UntilRequest
impl PartialEq for UntilRequest
impl StructuralPartialEq for UntilRequest
Auto Trait Implementations§
impl Freeze for UntilRequest
impl RefUnwindSafe for UntilRequest
impl Send for UntilRequest
impl Sync for UntilRequest
impl Unpin for UntilRequest
impl UnsafeUnpin for UntilRequest
impl UnwindSafe for UntilRequest
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
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
key and return true if they are equal.