[−][src]Struct papers::generic_author_info::GenericAuthorInfo
Fields
name: Option<String>
prop2id: HashMap<String, String>
wikidata_item: Option<String>
list_number: Option<String>
alternative_names: Vec<String>
Methods
impl GenericAuthorInfo
[src]
pub fn create_author_statement_in_paper_item(&self, item: &mut Entity)
[src]
pub fn amend_author_item(&self, item: &mut Entity)
[src]
pub fn get_or_create_author_item(&self, mw_api: &mut Api) -> GenericAuthorInfo
[src]
pub fn merge_from(&mut self, author2: &GenericAuthorInfo)
[src]
pub fn compare(&self, author2: &GenericAuthorInfo) -> u16
[src]
pub fn update_author_item(&self, entities: &EntityContainer, mw_api: &mut Api)
[src]
Trait Implementations
impl WikidataInteraction for GenericAuthorInfo
[src]
fn search_wikibase(
&self,
query: &String,
mw_api: &Api
) -> Result<Vec<String>, String>
[src]
&self,
query: &String,
mw_api: &Api
) -> Result<Vec<String>, String>
fn search_external_id(
&self,
property: &str,
id: &str,
mw_api: &Api
) -> Vec<String>
[src]
&self,
property: &str,
id: &str,
mw_api: &Api
) -> Vec<String>
fn create_item(&self, item: &Entity, mw_api: &mut Api) -> Option<String>
[src]
impl Clone for GenericAuthorInfo
[src]
fn clone(&self) -> GenericAuthorInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<GenericAuthorInfo> for GenericAuthorInfo
[src]
fn eq(&self, other: &GenericAuthorInfo) -> bool
[src]
fn ne(&self, other: &GenericAuthorInfo) -> bool
[src]
impl Debug for GenericAuthorInfo
[src]
Auto Trait Implementations
impl Send for GenericAuthorInfo
impl Sync for GenericAuthorInfo
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,