pub struct TableRow<'a> {
pub cells: Vec<&'a str>,
pub actions: Vec<(&'a str, Vec<(&'a str, &'a str)>)>,
}Expand description
One row of a table: cells in column order, plus the per-row forms (a delete button whose confirm step is a normal post).
Fields§
§cells: Vec<&'a str>§actions: Vec<(&'a str, Vec<(&'a str, &'a str)>)>(action, hidden fields) for each row action.
Auto Trait Implementations§
impl<'a> Freeze for TableRow<'a>
impl<'a> RefUnwindSafe for TableRow<'a>
impl<'a> Send for TableRow<'a>
impl<'a> Sync for TableRow<'a>
impl<'a> Unpin for TableRow<'a>
impl<'a> UnsafeUnpin for TableRow<'a>
impl<'a> UnwindSafe for TableRow<'a>
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