pub fn print_table_single(data: PrintableData)Expand description
This function allows to print the objects details in a pretty way (single data).
It uses the prettytable library to print the version details.
§Arguments
data- A TablePrintable enum- Project: A vector of Project structs
- Version: A vector of Version structs
- IssueType: A vector of IssueType structs
- IssueTypeFields: A vector of IssueTypeFields structs
§Examples
use jira_v3_openapi::models::Version;
use jirust_cli::utils::{PrintableData, table_printer::print_table_single};
let version: Version = Version::new();
print_table_single(PrintableData::Version { versions: vec![version] });