pub struct DublinCoreExtensionBuilder { /* private fields */ }
Expand description

Builder for DublinCoreExtension.

Implementations§

source§

impl DublinCoreExtensionBuilder

source

pub fn contributors<VALUE: Into<Vec<String>>>( &mut self, value: VALUE ) -> &mut Self

An entity responsible for making contributions to the resource.

source

pub fn contributor<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

An entity responsible for making contributions to the resource.

source

pub fn coverages<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.

source

pub fn coverage<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.

source

pub fn creators<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

An entity primarily responsible for making the resource.

source

pub fn creator<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

An entity primarily responsible for making the resource.

source

pub fn dates<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

A point or period of time associated with an event in the lifecycle of the resource.

source

pub fn date<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

A point or period of time associated with an event in the lifecycle of the resource.

source

pub fn descriptions<VALUE: Into<Vec<String>>>( &mut self, value: VALUE ) -> &mut Self

An account of the resource.

source

pub fn description<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

An account of the resource.

source

pub fn formats<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

The file format, physical medium, or dimensions of the resource.

source

pub fn format<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

The file format, physical medium, or dimensions of the resource.

source

pub fn identifiers<VALUE: Into<Vec<String>>>( &mut self, value: VALUE ) -> &mut Self

An unambiguous reference to the resource within a given context.

source

pub fn identifier<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

An unambiguous reference to the resource within a given context.

source

pub fn languages<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

A language of the resource.

source

pub fn language<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

A language of the resource.

source

pub fn publishers<VALUE: Into<Vec<String>>>( &mut self, value: VALUE ) -> &mut Self

An entity responsible for making the resource available.

source

pub fn publisher<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

An entity responsible for making the resource available.

source

pub fn relations<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

A related resource.

source

pub fn relation<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

A related resource.

source

pub fn rights<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

Information about rights held in and over the resource.

source

pub fn right<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

Information about rights held in and over the resource.

source

pub fn sources<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

A related resource from which the described resource is derived.

source

pub fn source<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

A related resource from which the described resource is derived.

source

pub fn subjects<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

The topic of the resource.

source

pub fn subject<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

The topic of the resource.

source

pub fn titles<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

A name given to the resource.

source

pub fn title<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

A name given to the resource.

source

pub fn types<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self

The nature or genre of the resource.

source

pub fn type<VALUE>(&mut self, item: VALUE) -> &mut Self
where Vec<String>: Default + Extend<VALUE>,

The nature or genre of the resource.

source§

impl DublinCoreExtensionBuilder

source

pub fn build(&self) -> DublinCoreExtension

Builds a new DublinCoreExtension.

Trait Implementations§

source§

impl Clone for DublinCoreExtensionBuilder

source§

fn clone(&self) -> DublinCoreExtensionBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for DublinCoreExtensionBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.