Struct zim::DirectoryEntry
source · pub struct DirectoryEntry {
pub mime_type: MimeType,
pub namespace: Namespace,
pub revision: Option<u32>,
pub url: String,
pub title: String,
pub target: Option<Target>,
}
Expand description
Holds metadata about an article
Fields§
§mime_type: MimeType
MIME type number as defined in the MIME type list
namespace: Namespace
defines to which namespace this directory entry belongs
revision: Option<u32>
identifies a revision of the contents of this directory entry, needed to identify updates or revisions in the original history
url: String
the URL as refered in the URL pointer list
title: String
title as refered in the Title pointer list or empty; in case it is empty, the URL is used as title
target: Option<Target>