pub struct DublinCoreTerms {Show 15 fields
pub title: String,
pub creator: StringOrArray,
pub subject: Option<StringOrArray>,
pub description: Option<String>,
pub publisher: Option<String>,
pub contributor: Option<StringOrArray>,
pub date: Option<String>,
pub dc_type: Option<String>,
pub format: Option<String>,
pub identifier: Option<String>,
pub source: Option<String>,
pub language: Option<String>,
pub relation: Option<String>,
pub coverage: Option<String>,
pub rights: Option<String>,
}Expand description
Dublin Core terms.
These are the standard 15 Dublin Core elements.
Fields§
§title: StringDocument title (required).
creator: StringOrArrayAuthor(s) (required).
subject: Option<StringOrArray>Topics or keywords.
description: Option<String>Summary or abstract.
publisher: Option<String>Publishing entity.
contributor: Option<StringOrArray>Other contributors.
date: Option<String>Publication date (ISO 8601).
dc_type: Option<String>Nature or genre of content.
format: Option<String>MIME type.
identifier: Option<String>Unique identifier.
source: Option<String>Source reference.
language: Option<String>Language code (BCP 47).
relation: Option<String>Related resource.
coverage: Option<String>Scope (temporal/spatial).
rights: Option<String>Rights statement.
Trait Implementations§
Source§impl Clone for DublinCoreTerms
impl Clone for DublinCoreTerms
Source§fn clone(&self) -> DublinCoreTerms
fn clone(&self) -> DublinCoreTerms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DublinCoreTerms
impl Debug for DublinCoreTerms
Source§impl<'de> Deserialize<'de> for DublinCoreTerms
impl<'de> Deserialize<'de> for DublinCoreTerms
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DublinCoreTerms
impl PartialEq for DublinCoreTerms
Source§impl Serialize for DublinCoreTerms
impl Serialize for DublinCoreTerms
impl Eq for DublinCoreTerms
impl StructuralPartialEq for DublinCoreTerms
Auto Trait Implementations§
impl Freeze for DublinCoreTerms
impl RefUnwindSafe for DublinCoreTerms
impl Send for DublinCoreTerms
impl Sync for DublinCoreTerms
impl Unpin for DublinCoreTerms
impl UnsafeUnpin for DublinCoreTerms
impl UnwindSafe for DublinCoreTerms
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.