pub struct ThmlHead {
pub title: Option<String>,
pub language: Option<String>,
pub rights: Option<String>,
pub version: Option<String>,
pub date: Option<String>,
pub description: Option<String>,
pub dc_type: Option<String>,
}Expand description
What a ThML file’s head (<ThML.head>) says about it
Fields§
§title: Option<String>DC.Title (the first, which isn’t a short form)
language: Option<String>DC.Language, as ISO 639-3 (eng; the package says en)
rights: Option<String>DC.Rights: Public Domain, or a copyright statement
version: Option<String>The edition’s own version (<version>1.0</version>)
date: Option<String>DC.Date, when it was made (2002-11-30)
description: Option<String><description>, its lines joined
dc_type: Option<String>DC.Type: what the work is (Text.Bible, Text.Commentary, Text.Monograph)
Implementations§
Trait Implementations§
impl Eq for ThmlHead
impl StructuralPartialEq for ThmlHead
Auto Trait Implementations§
impl Freeze for ThmlHead
impl RefUnwindSafe for ThmlHead
impl Send for ThmlHead
impl Sync for ThmlHead
impl Unpin for ThmlHead
impl UnsafeUnpin for ThmlHead
impl UnwindSafe for ThmlHead
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more