#[non_exhaustive]pub enum EntryFileType {
MarkdownDiary(MarkdownDiary),
RstDiary(RstDiary),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MarkdownDiary(MarkdownDiary)
RstDiary(RstDiary)
Trait Implementations§
Source§impl EntryContent for EntryFileType
impl EntryContent for EntryFileType
Source§impl From<MarkdownDiary> for EntryFileType
impl From<MarkdownDiary> for EntryFileType
Source§fn from(v: MarkdownDiary) -> EntryFileType
fn from(v: MarkdownDiary) -> EntryFileType
Converts to this type from the input type.
Source§impl From<RstDiary> for EntryFileType
impl From<RstDiary> for EntryFileType
Source§fn from(v: RstDiary) -> EntryFileType
fn from(v: RstDiary) -> EntryFileType
Converts to this type from the input type.
Source§impl FromStr for EntryFileType
impl FromStr for EntryFileType
Source§impl TryInto<MarkdownDiary> for EntryFileType
impl TryInto<MarkdownDiary> for EntryFileType
Auto Trait Implementations§
impl Freeze for EntryFileType
impl RefUnwindSafe for EntryFileType
impl Send for EntryFileType
impl Sync for EntryFileType
impl Unpin for EntryFileType
impl UnwindSafe for EntryFileType
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