Struct rss::extension::dublincore::DublinCoreExtension
source · pub struct DublinCoreExtension { /* private fields */ }
Expand description
A Dublin Core element extension.
Implementations
sourceimpl 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)where
V: Into<Vec<String>>,
pub fn set_contributors<V>(&mut self, contributors: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_coverages<V>(&mut self, coverages: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_creators<V>(&mut self, creators: V)where
V: Into<Vec<String>>,
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 set_dates<V>(&mut self, dates: V)where
V: Into<Vec<String>>,
pub fn set_dates<V>(&mut self, dates: V)where
V: Into<Vec<String>>,
Set 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)where
V: Into<Vec<String>>,
pub fn set_descriptions<V>(&mut self, descriptions: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_formats<V>(&mut self, formats: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_identifiers<V>(&mut self, identifiers: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_languages<V>(&mut self, languages: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_publishers<V>(&mut self, publishers: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_relations<V>(&mut self, relations: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_rights<V>(&mut self, rights: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_sources<V>(&mut self, sources: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_subjects<V>(&mut self, subjects: V)where
V: Into<Vec<String>>,
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)where
V: Into<Vec<String>>,
pub fn set_titles<V>(&mut self, titles: V)where
V: Into<Vec<String>>,
Set the titles of the resource.
Trait Implementations
sourceimpl Clone for DublinCoreExtension
impl Clone for DublinCoreExtension
sourcefn clone(&self) -> DublinCoreExtension
fn clone(&self) -> DublinCoreExtension
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more