pub enum NotRunnableReason {
StatusNotRunnable {
status: TaskStatus,
},
DraftExcluded,
UnmetDependencies {
dependencies: Vec<DependencyIssue>,
},
ScheduledStartInFuture {
scheduled_start: String,
now: String,
seconds_until_runnable: i64,
},
}Expand description
Reason a task is not runnable.
Variants§
StatusNotRunnable
Status prevents running (Done/Rejected).
Fields
§
status: TaskStatusDraftExcluded
Draft excluded because include_draft is false.
UnmetDependencies
Dependencies are not met.
Fields
§
dependencies: Vec<DependencyIssue>ScheduledStartInFuture
Scheduled start is in the future.
Trait Implementations§
Source§impl Clone for NotRunnableReason
impl Clone for NotRunnableReason
Source§fn clone(&self) -> NotRunnableReason
fn clone(&self) -> NotRunnableReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotRunnableReason
impl Debug for NotRunnableReason
Source§impl PartialEq for NotRunnableReason
impl PartialEq for NotRunnableReason
Source§impl Serialize for NotRunnableReason
impl Serialize for NotRunnableReason
impl Eq for NotRunnableReason
impl StructuralPartialEq for NotRunnableReason
Auto Trait Implementations§
impl Freeze for NotRunnableReason
impl RefUnwindSafe for NotRunnableReason
impl Send for NotRunnableReason
impl Sync for NotRunnableReason
impl Unpin for NotRunnableReason
impl UnsafeUnpin for NotRunnableReason
impl UnwindSafe for NotRunnableReason
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,
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.