pub struct KanbanColumnProps {
pub id: String,
pub title: String,
pub count: u32,
pub children: Vec<String>,
}Expand description
Props for a single column (lane) in a KanbanBoard.
A column is structure: its id is the lane key matched against each
item’s group_by value, and title is the lane header. count and
children are only honored by static specs that set neither
KanbanBoardProps.items_path nor group_by; in the data-bound path the
renderer computes the count and renders cards from items_path.
Fields§
§id: String§title: String§count: u32§children: Vec<String>IDs of elements rendered inside this column (static specs only).
Trait Implementations§
Source§impl Clone for KanbanColumnProps
impl Clone for KanbanColumnProps
Source§fn clone(&self) -> KanbanColumnProps
fn clone(&self) -> KanbanColumnProps
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 moreSource§impl Debug for KanbanColumnProps
impl Debug for KanbanColumnProps
Source§impl<'de> Deserialize<'de> for KanbanColumnProps
impl<'de> Deserialize<'de> for KanbanColumnProps
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 JsonSchema for KanbanColumnProps
impl JsonSchema for KanbanColumnProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for KanbanColumnProps
impl PartialEq for KanbanColumnProps
Source§fn eq(&self, other: &KanbanColumnProps) -> bool
fn eq(&self, other: &KanbanColumnProps) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KanbanColumnProps
impl Serialize for KanbanColumnProps
impl StructuralPartialEq for KanbanColumnProps
Auto Trait Implementations§
impl Freeze for KanbanColumnProps
impl RefUnwindSafe for KanbanColumnProps
impl Send for KanbanColumnProps
impl Sync for KanbanColumnProps
impl Unpin for KanbanColumnProps
impl UnsafeUnpin for KanbanColumnProps
impl UnwindSafe for KanbanColumnProps
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