Enum wikibase::EntityType
[−]
[src]
pub enum EntityType { Item, Property, }
EntityType
Type of the a Wikidata entity. Is either Item or Property.
JSON Mapping
Item = item
Property = property
Example
let entity_type = wikibase::EntityType::Item; let item = wikibase::EntityType::new_from_str("Q256"); let property = wikibase::EntityType::new_from_str("P18");
Variants
Item
Property