Struct orgize::elements::Title [−][src]
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: PropertiesMap<'a>,
pub post_blank: usize,
}
Expand description
Title Element
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 element associated to this headline
properties: PropertiesMap<'a>
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
Implementations
Returns this headline’s closed timestamp, or None
if not set.
Returns this headline’s scheduled timestamp, or None
if not set.
Returns this headline’s deadline timestamp, or None
if not set.
Returns true
if this headline is archived
Returns true
if this headline is commented
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Title<'a>
impl<'a> UnwindSafe for Title<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more