[−][src]Struct orgize::elements::Title
Title Elemenet
Fields
level: usize
Headline level, number of stars
priority: Option<char>
Headline priority cookie
Headline title tags
keyword: Option<Cow<'a, str>>
Headline todo keyword
raw: Cow<'a, str>
Raw headline's text, without the stars and the tags
planning: Option<Box<Planning<'a>>>
Planning elemenet associated to this headline
properties: HashMap<Cow<'a, str>, Cow<'a, str>>
Property drawer associated to this headline
post_blank: usize
Numbers of blank lines between last title's line and next non-blank line or buffer's end
Methods
impl<'_> Title<'_>
[src]
pub fn closed(&self) -> Option<&Timestamp>
[src]
Returns this headline's closed timestamp, or None
if not set.
pub fn scheduled(&self) -> Option<&Timestamp>
[src]
Returns this headline's scheduled timestamp, or None
if not set.
pub fn deadline(&self) -> Option<&Timestamp>
[src]
Returns this headline's deadline timestamp, or None
if not set.
pub fn is_archived(&self) -> bool
[src]
Returns true
if this headline is archived
pub fn is_commented(&self) -> bool
[src]
Returns true
if this headline is commented
pub fn into_owned(self) -> Title<'static>
[src]
Trait Implementations
impl<'a> From<Title<'a>> for Element<'a>
[src]
impl<'_> Default for Title<'_>
[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> Sync for Title<'a>
impl<'a> Unpin 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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,