pub struct Row {
pub select_value: Option<String>,
pub cells: Vec<String>,
pub actions: RowActions,
pub links: Vec<String>,
pub copies: Vec<String>,
pub color: Option<String>,
pub edits: Vec<CellEdit>,
}Expand description
One data row of a rendered table.
Fields§
§select_value: Option<String>The bulk checkbox value, the record key when the row is selectable.
cells: Vec<String>The cell texts in column order, including the bulk and actions cells.
actions: RowActionsThe row’s actions, nested so hrefs have one source.
links: Vec<String>The targets of its cells’ links, in document order.
copies: Vec<String>The values its cells’ copy buttons copy, in document order.
color: Option<String>The color the table’s row color tints it in, by its #[option(color = "…")] name.
edits: Vec<CellEdit>Its cells that edit their field in place, in column order.
Trait Implementations§
impl Eq for Row
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Forget for Row
impl Freeze for Row
impl Move for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.