pub struct Column {
pub slug: String,
pub name: String,
pub order: u32,
pub wip_limit: Option<u32>,
pub hidden: bool,
pub cards: Vec<Card>,
}Expand description
A single kanban column (not “list”).
Fields§
§slug: String§name: String§order: u32§wip_limit: Option<u32>§cards: Vec<Card>Implementations§
Source§impl Column
impl Column
Sourcepub fn sort_cards(&mut self)
pub fn sort_cards(&mut self)
Sort cards by priority (urgent first) then by updated timestamp (most recent first).
Sourcepub fn is_over_wip_limit(&self) -> bool
pub fn is_over_wip_limit(&self) -> bool
Whether this column is at or over its WIP limit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
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