pub enum ReportFormat {
Json,
Csv,
Pdf,
Html,
}Expand description
Report format enum
Variants§
Json
JSON report format
Csv
CSV report format for spreadsheets
PDF report format for professional documents
Html
HTML report format for web viewing
Implementations§
Source§impl ReportFormat
impl ReportFormat
Sourcepub fn from_string(s: &str) -> Result<Self>
pub fn from_string(s: &str) -> Result<Self>
Parse format from string
Trait Implementations§
Source§impl Clone for ReportFormat
impl Clone for ReportFormat
Source§fn clone(&self) -> ReportFormat
fn clone(&self) -> ReportFormat
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 ReportFormat
impl Debug for ReportFormat
impl Copy for ReportFormat
Auto Trait Implementations§
impl Freeze for ReportFormat
impl RefUnwindSafe for ReportFormat
impl Send for ReportFormat
impl Sync for ReportFormat
impl Unpin for ReportFormat
impl UnwindSafe for ReportFormat
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