pub enum PriorityView {
Urgent,
High,
Normal,
Low,
}Expand description
Priority level for a card.
Used by UI layers to display visual indicators and support filtering/sorting.
Variants§
Urgent
Highest priority - requires immediate attention.
High
High priority - should be addressed soon.
Normal
Normal priority - standard work items.
Low
Low priority - can be deferred.
Implementations§
Source§impl PriorityView
impl PriorityView
Sourcepub fn sort_order(&self) -> u8
pub fn sort_order(&self) -> u8
Get sort order (lower = higher priority).
Sourcepub fn all() -> &'static [PriorityView]
pub fn all() -> &'static [PriorityView]
Returns all priority levels in order of importance.
Trait Implementations§
Source§impl Clone for PriorityView
impl Clone for PriorityView
Source§fn clone(&self) -> PriorityView
fn clone(&self) -> PriorityView
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 PriorityView
impl Debug for PriorityView
Source§impl Default for PriorityView
impl Default for PriorityView
Source§fn default() -> PriorityView
fn default() -> PriorityView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PriorityView
impl<'de> Deserialize<'de> for PriorityView
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
Source§impl Display for PriorityView
impl Display for PriorityView
Source§impl PartialEq for PriorityView
impl PartialEq for PriorityView
Source§impl Serialize for PriorityView
impl Serialize for PriorityView
impl Copy for PriorityView
impl Eq for PriorityView
impl StructuralPartialEq for PriorityView
Auto Trait Implementations§
impl Freeze for PriorityView
impl RefUnwindSafe for PriorityView
impl Send for PriorityView
impl Sync for PriorityView
impl Unpin for PriorityView
impl UnsafeUnpin for PriorityView
impl UnwindSafe for PriorityView
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