Module wikidata_rs::id
source · Expand description
pub mod id;
is creating a public module named id
. This module
contains code related to generating and managing Wikibase unique identifiers
or IDs within the codebase.
Enums
- The
Id
enum is defining different types of identifiers that can be used in the Wikidata database. Each variant of the enum corresponds to a different type of identifier:Fid
for a form ID,Lid
for a lexeme ID,Pid
for a property ID,Qid
for a item ID, andSid
for a sense ID. This enum is used to represent and manipulate these different types of IDs in the code.