pub struct PlanTask {
pub id: String,
pub title: String,
pub detail: Option<String>,
pub depends_on: Vec<String>,
pub accept: Option<String>,
pub timeout_seconds: Option<u64>,
}Expand description
One task as a plan file or the plan action gives it.
Fields§
§id: StringIts id within the project.
title: StringWhat it is, in a line.
detail: Option<String>Anything more.
depends_on: Vec<String>Ids of the tasks that must be done first.
accept: Option<String>A command that exits 0 in the project when the task is done.
timeout_seconds: Option<u64>How long the command may take.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanTask
impl<'de> Deserialize<'de> for PlanTask
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 PlanTask
impl StructuralPartialEq for PlanTask
Auto Trait Implementations§
impl Forget for PlanTask
impl Freeze for PlanTask
impl Move for PlanTask
impl RefUnwindSafe for PlanTask
impl Send for PlanTask
impl Sync for PlanTask
impl Unpin for PlanTask
impl UnsafeUnpin for PlanTask
impl UnwindSafe for PlanTask
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,
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.