pub struct Table {
pub header: Option<Vec<String>>,
pub rows: Vec<Vec<String>>,
}Expand description
A command output as a table: one row a line, cells split by whitespace,
an optional header row; total lines (1425 total, total 48) are not rows.
Fields§
§header: Option<Vec<String>>§rows: Vec<Vec<String>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Table
impl Freeze for Table
impl Move for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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