Struct rss::extension::dublincore::DublinCoreExtension
source · pub struct DublinCoreExtension {Show 15 fields
pub contributors: Vec<String>,
pub coverages: Vec<String>,
pub creators: Vec<String>,
pub dates: Vec<String>,
pub descriptions: Vec<String>,
pub formats: Vec<String>,
pub identifiers: Vec<String>,
pub languages: Vec<String>,
pub publishers: Vec<String>,
pub relations: Vec<String>,
pub rights: Vec<String>,
pub sources: Vec<String>,
pub subjects: Vec<String>,
pub titles: Vec<String>,
pub types: Vec<String>,
}
Expand description
A Dublin Core element extension.
Fields§
§contributors: Vec<String>
An entity responsible for making contributions to the resource.
coverages: Vec<String>
The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.
creators: Vec<String>
An entity primarily responsible for making the resource.
dates: Vec<String>
A point or period of time associated with an event in the lifecycle of the resource.
descriptions: Vec<String>
An account of the resource.
formats: Vec<String>
The file format, physical medium, or dimensions of the resource.
identifiers: Vec<String>
An unambiguous reference to the resource within a given context.
languages: Vec<String>
A language of the resource.
publishers: Vec<String>
An entity responsible for making the resource available.
relations: Vec<String>
A related resource.
rights: Vec<String>
Information about rights held in and over the resource.
sources: Vec<String>
A related resource from which the described resource is derived.
subjects: Vec<String>
The topic of the resource.
titles: Vec<String>
A name given to the resource.
types: Vec<String>
The nature or genre of the resource.
Implementations§
source§impl DublinCoreExtension
impl DublinCoreExtension
sourcepub fn contributors(&self) -> &[String]
pub fn contributors(&self) -> &[String]
Return the contributors to the resource.
sourcepub fn contributors_mut(&mut self) -> &mut [String]
pub fn contributors_mut(&mut self) -> &mut [String]
Return a mutable slice of the contributors to the resource.
sourcepub fn set_contributors<V>(&mut self, contributors: V)
pub fn set_contributors<V>(&mut self, contributors: V)
Set the contributors to the resource.
sourcepub fn coverages(&self) -> &[String]
pub fn coverages(&self) -> &[String]
Return the spatial or temporal topics of the resource, the spatial applicabilities of the resource, or the jurisdictions under which the resource is relevant.
sourcepub fn coverages_mut(&mut self) -> &mut [String]
pub fn coverages_mut(&mut self) -> &mut [String]
Return a mutable slice of the spatial or temporal topics of the resource, the spatial applicabilities of the resource, or the jurisdictions under which the resource is relevant.
sourcepub fn set_coverages<V>(&mut self, coverages: V)
pub fn set_coverages<V>(&mut self, coverages: V)
Set the spatial or temporal topics of the resource, the spatial applicabilities of the resource, or the jurisdictions under which the resource is relevant.
sourcepub fn creators_mut(&mut self) -> &mut [String]
pub fn creators_mut(&mut self) -> &mut [String]
Return a mutable slice of the creators of the resource.
sourcepub fn set_creators<V>(&mut self, creators: V)
pub fn set_creators<V>(&mut self, creators: V)
Set the creators of the resource.
sourcepub fn dates_mut(&mut self) -> &mut [String]
pub fn dates_mut(&mut self) -> &mut [String]
Return a mutable slice of the times associated with the resource.
sourcepub fn descriptions(&self) -> &[String]
pub fn descriptions(&self) -> &[String]
Return the descriptions of the resource.
sourcepub fn descriptions_mut(&mut self) -> &mut [String]
pub fn descriptions_mut(&mut self) -> &mut [String]
Return a mutable slice of the descriptions of the resource.
sourcepub fn set_descriptions<V>(&mut self, descriptions: V)
pub fn set_descriptions<V>(&mut self, descriptions: V)
Set the descriptions of the resource.
sourcepub fn formats(&self) -> &[String]
pub fn formats(&self) -> &[String]
Return the file formats, physical mediums, or dimensions of the resource.
sourcepub fn formats_mut(&mut self) -> &mut [String]
pub fn formats_mut(&mut self) -> &mut [String]
Return a mutable slice of the file formats, physical mediums, or dimensions of the resource.
sourcepub fn set_formats<V>(&mut self, formats: V)
pub fn set_formats<V>(&mut self, formats: V)
Set the file formats, physical mediums, or dimensions of the resource.
sourcepub fn identifiers(&self) -> &[String]
pub fn identifiers(&self) -> &[String]
Return the identifiers of the resource.
sourcepub fn identifiers_mut(&mut self) -> &mut [String]
pub fn identifiers_mut(&mut self) -> &mut [String]
Return a mutable slice of the identifiers of the resource.
sourcepub fn set_identifiers<V>(&mut self, identifiers: V)
pub fn set_identifiers<V>(&mut self, identifiers: V)
Set the identifiers of the resource.
sourcepub fn languages_mut(&mut self) -> &mut [String]
pub fn languages_mut(&mut self) -> &mut [String]
Return a mutable slice of the languages of the resource.
sourcepub fn set_languages<V>(&mut self, languages: V)
pub fn set_languages<V>(&mut self, languages: V)
Set the languages of the resource.
sourcepub fn publishers(&self) -> &[String]
pub fn publishers(&self) -> &[String]
Return the publishers of the resource.
sourcepub fn publishers_mut(&mut self) -> &mut [String]
pub fn publishers_mut(&mut self) -> &mut [String]
Return a mutable slice of the publishers of the resource.
sourcepub fn set_publishers<V>(&mut self, publishers: V)
pub fn set_publishers<V>(&mut self, publishers: V)
Set the publishers of the resource.
sourcepub fn relations_mut(&mut self) -> &mut [String]
pub fn relations_mut(&mut self) -> &mut [String]
Return a mutable slice of the related resources.
sourcepub fn set_relations<V>(&mut self, relations: V)
pub fn set_relations<V>(&mut self, relations: V)
Set the related resources.
sourcepub fn rights(&self) -> &[String]
pub fn rights(&self) -> &[String]
Return the information about rights held in and over the resource.
sourcepub fn rights_mut(&mut self) -> &mut [String]
pub fn rights_mut(&mut self) -> &mut [String]
Return a mutable slice of the information about rights held in and over the resource.
sourcepub fn set_rights<V>(&mut self, rights: V)
pub fn set_rights<V>(&mut self, rights: V)
Set the information about rights held in and over the resource.
sourcepub fn sources_mut(&mut self) -> &mut [String]
pub fn sources_mut(&mut self) -> &mut [String]
Return a mutable slice of the sources of the resource.
sourcepub fn set_sources<V>(&mut self, sources: V)
pub fn set_sources<V>(&mut self, sources: V)
Set the sources of the resource.
sourcepub fn subjects_mut(&mut self) -> &mut [String]
pub fn subjects_mut(&mut self) -> &mut [String]
Return a mutable slice of the subjects of the resource.
sourcepub fn set_subjects<V>(&mut self, subjects: V)
pub fn set_subjects<V>(&mut self, subjects: V)
Set the topics of the resource.
sourcepub fn titles_mut(&mut self) -> &mut [String]
pub fn titles_mut(&mut self) -> &mut [String]
Return a mutable slice of the titles of the resource.
sourcepub fn set_titles<V>(&mut self, titles: V)
pub fn set_titles<V>(&mut self, titles: V)
Set the titles of the resource.
Trait Implementations§
source§impl Clone for DublinCoreExtension
impl Clone for DublinCoreExtension
source§fn clone(&self) -> DublinCoreExtension
fn clone(&self) -> DublinCoreExtension
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DublinCoreExtension
impl Debug for DublinCoreExtension
source§impl Default for DublinCoreExtension
impl Default for DublinCoreExtension
source§fn default() -> DublinCoreExtension
fn default() -> DublinCoreExtension
source§impl<'de> Deserialize<'de> for DublinCoreExtension
impl<'de> Deserialize<'de> for DublinCoreExtension
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>,
source§impl PartialEq for DublinCoreExtension
impl PartialEq for DublinCoreExtension
source§fn eq(&self, other: &DublinCoreExtension) -> bool
fn eq(&self, other: &DublinCoreExtension) -> bool
self
and other
values to be equal, and is used
by ==
.