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>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more