pub struct DCMetaData {
    pub title: String,
    pub author: String,
    pub typ: EntryType,
    pub subject: Option<String>,
    pub mime: Option<Mime>,
    pub language: Option<LanguageIdentifier>,
}
Expand description

Represents the parts of the metadata schema covered by the Dublin Core vocabulary.

Fields

title: String

Title of work represented by media.

author: String

Author(s) of work represented by media. Multiple authors may be specified by separating them with comma.

typ: EntryType

Type of work represented by media. Maps to bibtex entry types.

subject: Option<String>

Comma-separated keyword list describing the content.

mime: Option<Mime>

MIME type of the media.

language: Option<LanguageIdentifier>

What language the work represented by this media file is in.

Implementations

Creates a new Dublin Core metadata part with minimal data.

title, author and entry_type map to corresponding DCMetaData properties.

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

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self

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.