[][src]Struct vimwiki::lang::components::DiaryLink

pub struct DiaryLink {
    pub date: NaiveDate,
    pub description: Option<Description>,
    pub anchor: Option<Anchor>,
}

Represents a link to an entry in the diary wiki

Fields

date: NaiveDatedescription: Option<Description>anchor: Option<Anchor>

Implementations

impl DiaryLink[src]

pub fn new(
    date: NaiveDate,
    description: Option<Description>,
    anchor: Option<Anchor>
) -> DiaryLink
[src]

Trait Implementations

impl Clone for DiaryLink[src]

impl Debug for DiaryLink[src]

impl<'de> Deserialize<'de> for DiaryLink[src]

impl Eq for DiaryLink[src]

impl From<DiaryLink> for Link[src]

impl From<NaiveDate> for DiaryLink[src]

impl Hash for DiaryLink[src]

impl PartialEq<DiaryLink> for DiaryLink[src]

impl Serialize for DiaryLink[src]

impl StructuralEq for DiaryLink[src]

impl StructuralPartialEq for DiaryLink[src]

impl<'_> TryFrom<&'_ str> for DiaryLink[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.