pub enum Format {
PlainText,
Html,
Pdf,
Markdown,
Unknown,
}Expand description
Detected document format.
Variants§
PlainText
Plain text (no conversion needed).
Html
HTML or XHTML.
PDF document (binary).
Markdown
Markdown (light markup, mostly passthrough).
Unknown
Format could not be determined.
Implementations§
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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