#[non_exhaustive]pub enum GoalStatusView {
Active,
Paused,
Completed,
Cleared,
}Expand description
Status of a long-horizon goal.
Mirrors zeph_core::goal::GoalStatus. Defined here to avoid a dependency cycle
(zeph-commands cannot depend on zeph-core).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Active
Goal is being actively tracked.
Paused
Goal is paused; not injected into context.
Completed
Goal was marked as achieved. Terminal state.
Cleared
Goal was dismissed. Terminal state.
Implementations§
Source§impl GoalStatusView
impl GoalStatusView
Sourcepub fn badge_symbol(self) -> &'static str
pub fn badge_symbol(self) -> &'static str
Short ASCII symbol used in TUI status badge.
Trait Implementations§
Source§impl Clone for GoalStatusView
impl Clone for GoalStatusView
Source§fn clone(&self) -> GoalStatusView
fn clone(&self) -> GoalStatusView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GoalStatusView
Source§impl Debug for GoalStatusView
impl Debug for GoalStatusView
impl Eq for GoalStatusView
Source§impl PartialEq for GoalStatusView
impl PartialEq for GoalStatusView
Source§fn eq(&self, other: &GoalStatusView) -> bool
fn eq(&self, other: &GoalStatusView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GoalStatusView
impl Serialize for GoalStatusView
impl StructuralPartialEq for GoalStatusView
Auto Trait Implementations§
impl Freeze for GoalStatusView
impl RefUnwindSafe for GoalStatusView
impl Send for GoalStatusView
impl Sync for GoalStatusView
impl Unpin for GoalStatusView
impl UnsafeUnpin for GoalStatusView
impl UnwindSafe for GoalStatusView
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.