pub enum Wait {
Answer(Ask),
Approval(Ask),
Decision(String),
Choice {
question: String,
options: Vec<String>,
},
Time(Timestamp),
}Expand description
What a step waits for.
Variants§
Answer(Ask)
A text: a person’s step, or a name the plan’s reference did not give.
Approval(Ask)
A person’s approval of the work: yes, or no with the points against it.
Decision(String)
Yes or no.
Choice
One of the options.
Time(Timestamp)
A time: the step may not start before it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wait
impl<'de> Deserialize<'de> for Wait
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 Wait
impl StructuralPartialEq for Wait
Auto Trait Implementations§
impl Forget for Wait
impl Freeze for Wait
impl Move for Wait
impl RefUnwindSafe for Wait
impl Send for Waitwhere
RawVecInner: Send,
impl Sync for Waitwhere
RawVecInner: Sync,
impl Unpin for Wait
impl UnsafeUnpin for Waitwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Waitwhere
RawVecInner: UnwindSafe,
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