#[repr(u8)]pub enum FormatHint {
Generic = 0,
Json = 1,
Markdown = 2,
Ndjson = 3,
Csv = 4,
Code = 5,
Log = 6,
Logfmt = 7,
Prometheus = 8,
Yaml = 9,
Xml = 10,
}Expand description
Detected or declared file format.
Variants§
Generic = 0
Json = 1
Markdown = 2
Ndjson = 3
Csv = 4
Code = 5
Log = 6
Logfmt = 7
Prometheus = 8
Yaml = 9
Xml = 10
Implementations§
Trait Implementations§
Source§impl Clone for FormatHint
impl Clone for FormatHint
Source§fn clone(&self) -> FormatHint
fn clone(&self) -> FormatHint
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 FormatHint
impl Debug for FormatHint
Source§impl Display for FormatHint
impl Display for FormatHint
Source§impl PartialEq for FormatHint
impl PartialEq for FormatHint
impl Copy for FormatHint
impl Eq for FormatHint
impl StructuralPartialEq for FormatHint
Auto Trait Implementations§
impl Freeze for FormatHint
impl RefUnwindSafe for FormatHint
impl Send for FormatHint
impl Sync for FormatHint
impl Unpin for FormatHint
impl UnsafeUnpin for FormatHint
impl UnwindSafe for FormatHint
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