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 copy 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<InputFormat, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InputFormat, <__D as Deserializer<'de>>::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§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<InputFormat, <InputFormat as FromStr>::Err>
fn from_str(s: &str) -> Result<InputFormat, <InputFormat as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§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§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&str> for InputFormat
impl TryFrom<&str> for InputFormat
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<InputFormat, <InputFormat as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<InputFormat, <InputFormat as TryFrom<&str>>::Error>
Performs the conversion.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.