pub enum InputFormat {
Markdown,
}
Expand description
Enum type for defining the possible input file formats
Variants§
Markdown
The MarkDown input format
Trait Implementations§
Source§impl AsRef<str> for InputFormat
impl AsRef<str> for InputFormat
Source§impl Clone for InputFormat
impl Clone for InputFormat
Source§fn clone(&self) -> InputFormat
fn clone(&self) -> InputFormat
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 InputFormat
impl Debug for InputFormat
Source§impl<'de> Deserialize<'de> for InputFormat
impl<'de> Deserialize<'de> for InputFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InputFormat
impl Display for InputFormat
Source§impl<'_derivative_strum> From<&'_derivative_strum InputFormat> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum InputFormat> for &'static str
Source§fn from(x: &'_derivative_strum InputFormat) -> &'static str
fn from(x: &'_derivative_strum InputFormat) -> &'static str
Converts to this type from the input type.
Source§impl From<InputFormat> for &'static str
impl From<InputFormat> for &'static str
Source§fn from(x: InputFormat) -> &'static str
fn from(x: InputFormat) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for InputFormat
impl FromStr for InputFormat
Source§impl IntoEnumIterator for InputFormat
impl IntoEnumIterator for InputFormat
Source§impl PartialEq for InputFormat
impl PartialEq for InputFormat
Source§impl Serialize for InputFormat
impl Serialize for InputFormat
Source§impl TryFrom<&str> for InputFormat
impl TryFrom<&str> for InputFormat
Source§impl VariantNames for InputFormat
impl VariantNames for InputFormat
impl Copy for InputFormat
impl Eq for InputFormat
impl StructuralPartialEq for InputFormat
Auto Trait Implementations§
impl Freeze for InputFormat
impl RefUnwindSafe for InputFormat
impl Send for InputFormat
impl Sync for InputFormat
impl Unpin for InputFormat
impl UnwindSafe for InputFormat
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