pub struct BoardConfiguration {
pub columns: Vec<String>,
pub done_column: Option<String>,
pub hidden_columns: Vec<String>,
pub show_mismatch: bool,
}Expand description
A named board configuration ([kanban.<name>] in tix.toml).
Carries the ordered column list plus per-configuration metadata: the done column, columns hidden from the rendered board, and whether the computed “Mismatched” pseudo-column is shown (C-002 / DM-01M2MH4D84NHG0JVWEPR6ZH4VR).
Fields§
§columns: Vec<String>Ordered, case-sensitive, non-empty, unique column names.
done_column: Option<String>The column treated as “done” (commit prompting). Defaults to "done"
when that name is present in columns, else the last configured
column (contracts/tix-toml.md field rules).
Columns hidden from the rendered board. Must be a subset of columns;
their cards stay in board state and remain reachable via filters/search.
show_mismatch: boolWhether the computed “Mismatched” pseudo-column is rendered. Default
false. Never a configured column.
Implementations§
Source§impl BoardConfiguration
impl BoardConfiguration
Sourcepub fn effective_done_column(&self) -> Option<&str>
pub fn effective_done_column(&self) -> Option<&str>
The resolved done column: the explicit done_column, else "done"
when present in columns, else the last configured column.
Trait Implementations§
Source§impl Clone for BoardConfiguration
impl Clone for BoardConfiguration
Source§fn clone(&self) -> BoardConfiguration
fn clone(&self) -> BoardConfiguration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BoardConfiguration
impl Debug for BoardConfiguration
Source§impl Default for BoardConfiguration
impl Default for BoardConfiguration
Source§impl<'de> Deserialize<'de> for BoardConfigurationwhere
BoardConfiguration: Default,
impl<'de> Deserialize<'de> for BoardConfigurationwhere
BoardConfiguration: Default,
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>,
impl Eq for BoardConfiguration
Source§impl PartialEq for BoardConfiguration
impl PartialEq for BoardConfiguration
Source§impl Serialize for BoardConfiguration
impl Serialize for BoardConfiguration
impl StructuralPartialEq for BoardConfiguration
Auto Trait Implementations§
impl Freeze for BoardConfiguration
impl RefUnwindSafe for BoardConfiguration
impl Send for BoardConfiguration
impl Sync for BoardConfiguration
impl Unpin for BoardConfiguration
impl UnsafeUnpin for BoardConfiguration
impl UnwindSafe for BoardConfiguration
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more