[][src]Struct rss::extension::dublincore::DublinCoreExtension

pub struct DublinCoreExtension {
    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>,
}

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

impl Debug for DublinCoreExtension[src]

impl Default for DublinCoreExtension[src]

impl PartialEq<DublinCoreExtension> for DublinCoreExtension[src]

impl StructuralPartialEq for DublinCoreExtension[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.