[−][src]Struct rss::extension::dublincore::DublinCoreExtension
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
impl DublinCoreExtension
[src]
pub fn contributors(&self) -> &[String]
[src]
Return the contributors to the resource.
pub fn contributors_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the contributors to the resource.
pub fn set_contributors<V>(&mut self, contributors: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the contributors to the resource.
pub fn coverages(&self) -> &[String]
[src]
Return the spatial or temporal topics of the resource, the spatial applicabilities of the resource, or the jurisdictions under which the resource is relevant.
pub fn coverages_mut(&mut self) -> &mut [String]
[src]
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.
pub fn set_coverages<V>(&mut self, coverages: V) where
V: Into<Vec<String>>,
[src]
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.
pub fn creators(&self) -> &[String]
[src]
Return the creators of the resource.
pub fn creators_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the creators of the resource.
pub fn set_creators<V>(&mut self, creators: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the creators of the resource.
pub fn dates(&self) -> &[String]
[src]
Return the times associated with the resource.
pub fn dates_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the times associated with the resource.
pub fn set_dates<V>(&mut self, dates: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the times associated with the resource.
pub fn descriptions(&self) -> &[String]
[src]
Return the descriptions of the resource.
pub fn descriptions_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the descriptions of the resource.
pub fn set_descriptions<V>(&mut self, descriptions: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the descriptions of the resource.
pub fn formats(&self) -> &[String]
[src]
Return the file formats, physical mediums, or dimensions of the resource.
pub fn formats_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the file formats, physical mediums, or dimensions of the resource.
pub fn set_formats<V>(&mut self, formats: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the file formats, physical mediums, or dimensions of the resource.
pub fn identifiers(&self) -> &[String]
[src]
Return the identifiers of the resource.
pub fn identifiers_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the identifiers of the resource.
pub fn set_identifiers<V>(&mut self, identifiers: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the identifiers of the resource.
pub fn languages(&self) -> &[String]
[src]
Return the languages of the resource.
pub fn languages_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the languages of the resource.
pub fn set_languages<V>(&mut self, languages: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the languages of the resource.
pub fn publishers(&self) -> &[String]
[src]
Return the publishers of the resource.
pub fn publishers_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the publishers of the resource.
pub fn set_publishers<V>(&mut self, publishers: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the publishers of the resource.
pub fn relations(&self) -> &[String]
[src]
Return the related resources.
pub fn relations_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the related resources.
pub fn set_relations<V>(&mut self, relations: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the related resources.
pub fn rights(&self) -> &[String]
[src]
Return the information about rights held in and over the resource.
pub fn rights_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the information about rights held in and over the resource.
pub fn set_rights<V>(&mut self, rights: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the information about rights held in and over the resource.
pub fn sources(&self) -> &[String]
[src]
Return the sources of the resource.
pub fn sources_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the sources of the resource.
pub fn set_sources<V>(&mut self, sources: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the sources of the resource.
pub fn subjects(&self) -> &[String]
[src]
Return the topics of the resource.
pub fn subjects_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the subjects of the resource.
pub fn set_subjects<V>(&mut self, subjects: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the topics of the resource.
pub fn titles(&self) -> &[String]
[src]
Return the titles of the resource.
pub fn titles_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the titles of the resource.
pub fn set_titles<V>(&mut self, titles: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
Set the titles of the resource.
pub fn types(&self) -> &[String]
[src]
Return the natures or genres of the resource.
pub fn types_mut(&mut self) -> &mut [String]
[src]
Return a mutable slice of the natures or genres of the resource.
pub fn set_types<V>(&mut self, types: V) where
V: Into<Vec<String>>,
[src]
V: Into<Vec<String>>,
set the natures or genres of the resource.
impl DublinCoreExtension
[src]
pub fn from_map(map: HashMap<String, Vec<Extension>>) -> Self
[src]
Creates a DublinCoreExtension
using the specified HashMap
.
Trait Implementations
impl Clone for DublinCoreExtension
[src]
pub fn clone(&self) -> DublinCoreExtension
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DublinCoreExtension
[src]
impl Default for DublinCoreExtension
[src]
pub fn default() -> DublinCoreExtension
[src]
impl PartialEq<DublinCoreExtension> for DublinCoreExtension
[src]
pub fn eq(&self, other: &DublinCoreExtension) -> bool
[src]
pub fn ne(&self, other: &DublinCoreExtension) -> bool
[src]
impl StructuralPartialEq for DublinCoreExtension
[src]
Auto Trait Implementations
impl RefUnwindSafe for DublinCoreExtension
[src]
impl Send for DublinCoreExtension
[src]
impl Sync for DublinCoreExtension
[src]
impl Unpin for DublinCoreExtension
[src]
impl UnwindSafe for DublinCoreExtension
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,