[][src]Struct orgize::elements::Title

pub struct Title<'a> {
    pub level: usize,
    pub priority: Option<char>,
    pub tags: Vec<Cow<'a, str>>,
    pub keyword: Option<Cow<'a, str>>,
    pub raw: Cow<'a, str>,
    pub planning: Option<Box<Planning<'a>>>,
    pub properties: HashMap<Cow<'a, str>, Cow<'a, str>>,
}

Fields

level: usize

headline level, number of stars

priority: Option<char>

priority cookie

tags: Vec<Cow<'a, str>>

headline tags, including the sparated colons

keyword: Option<Cow<'a, str>>

headline keyword

raw: Cow<'a, str>planning: Option<Box<Planning<'a>>>properties: HashMap<Cow<'a, str>, Cow<'a, str>>

Methods

impl<'_> Title<'_>[src]

pub fn into_owned(self) -> Title<'static>[src]

impl<'_> Title<'_>[src]

pub fn is_archived(&self) -> bool[src]

checks if this headline is "archived"

Trait Implementations

impl<'_> Default for Title<'_>[src]

impl<'a> From<Title<'a>> for Element<'a>[src]

impl<'a> Debug for Title<'a>[src]

impl<'a> Serialize for Title<'a>[src]

Auto Trait Implementations

impl<'a> Send for Title<'a>

impl<'a> Unpin for Title<'a>

impl<'a> Sync for Title<'a>

impl<'a> UnwindSafe for Title<'a>

impl<'a> RefUnwindSafe for Title<'a>

Blanket Implementations

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

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

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.

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

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

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