[][src]Struct papers::wikidata_papers::WikidataPapersCache

pub struct WikidataPapersCache { /* fields omitted */ }

Methods

impl WikidataPapersCache[src]

pub fn new() -> Self[src]

pub fn issn2q(&mut self, issn: &String) -> Option<String>[src]

pub fn init(&mut self, mw_api: &Api)[src]

Trait Implementations

impl WikidataInteraction for WikidataPapersCache[src]

fn search_wikibase(
    &self,
    query: &String,
    mw_api: &Api
) -> Result<Vec<String>, String>
[src]

fn search_external_id(
    &self,
    property: &str,
    id: &str,
    mw_api: &Api
) -> Vec<String>
[src]

fn create_item(&self, item: &Entity, mw_api: &mut Api) -> Option<String>[src]

Auto Trait Implementations

Blanket Implementations

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

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

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