[][src]Struct zotero::data_structure::item::InstantMessageDataBuilder

pub struct InstantMessageDataBuilder { /* fields omitted */ }

Builder for InstantMessageData.

Methods

impl InstantMessageDataBuilder[src]

pub fn key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn creators<VALUE: Into<Vec<Creator>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn abstract_note<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn language<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn short_title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn access_date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

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

pub fn extra<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn tags<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn collections<VALUE: Into<Vec<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn relations<VALUE: Into<HashMap<String, String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn date_added<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn date_modified<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn build(&self) -> Result<InstantMessageData, String>[src]

Builds a new InstantMessageData.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for InstantMessageDataBuilder[src]

impl Default for InstantMessageDataBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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> 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]