pub struct CliTableRow {
pub templates: Vec<String>,
pub hostname: Option<String>,
pub platform: Option<String>,
pub command: String,
}Expand description
A single entry in a CLI table index.
Fields§
§templates: Vec<String>List of TextFSM template filenames associated with this entry.
hostname: Option<String>Optional hostname filter (regex).
platform: Option<String>Optional platform/vendor name.
command: StringThe CLI command string (supports [[abbrev]] syntax).
Trait Implementations§
Source§impl Clone for CliTableRow
impl Clone for CliTableRow
Source§fn clone(&self) -> CliTableRow
fn clone(&self) -> CliTableRow
Returns a duplicate of the value. Read more
1.0.0 · 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 CliTableRow
impl Debug for CliTableRow
Source§impl PartialEq for CliTableRow
impl PartialEq for CliTableRow
impl StructuralPartialEq for CliTableRow
Auto Trait Implementations§
impl Freeze for CliTableRow
impl RefUnwindSafe for CliTableRow
impl Send for CliTableRow
impl Sync for CliTableRow
impl Unpin for CliTableRow
impl UnwindSafe for CliTableRow
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