Enum diary::EntryFileType 
source · [−]#[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
sourceimpl EntryContent for EntryFileType
 
impl EntryContent for EntryFileType
sourceimpl From<MarkdownDiary> for EntryFileType
 
impl From<MarkdownDiary> for EntryFileType
sourcefn from(v: MarkdownDiary) -> EntryFileType
 
fn from(v: MarkdownDiary) -> EntryFileType
Performs the conversion.
sourceimpl From<RstDiary> for EntryFileType
 
impl From<RstDiary> for EntryFileType
sourcefn from(v: RstDiary) -> EntryFileType
 
fn from(v: RstDiary) -> EntryFileType
Performs the conversion.
sourceimpl FromStr for EntryFileType
 
impl FromStr for EntryFileType
sourceimpl TryInto<MarkdownDiary> for EntryFileType
 
impl TryInto<MarkdownDiary> for EntryFileType
sourcefn try_into(
    self
) -> Result<MarkdownDiary, <Self as TryInto<MarkdownDiary>>::Error>
 
fn try_into(
    self
) -> Result<MarkdownDiary, <Self as TryInto<MarkdownDiary>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EntryFileType
impl Send for EntryFileType
impl Sync for EntryFileType
impl Unpin for EntryFileType
impl UnwindSafe for EntryFileType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more