pub struct FrontMatter {
    pub map: Map<String, Value>,
}
Expand description

Represents the front matter of the note.

Fields

map: Map<String, Value>

Implementations

Checks if the front matter contains a field variable with the name defined in the configuration file: as: “compulsory_header_field”.

Are any variables registerd?

Trait Implementations

Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Helper function deserialising the front-matter of the note file.

The type returned in the event of a conversion error.

Helper function deserialising the front-matter of the note file.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.