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

pub struct DublinCoreExtension { /* fields omitted */ }

A Dublin Core element extension.

Methods

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 PartialEq<DublinCoreExtension> for DublinCoreExtension[src]

impl Clone for DublinCoreExtension[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for DublinCoreExtension[src]

impl Debug for DublinCoreExtension[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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