Module wikidata_rs::value

source ·
Expand description

pub mod value; is creating a public module named value. This module contains code related to representing and manipulating Wikibase values, such as strings, numbers, and dates.

Structs

  • The AppenderHelper struct contains a hashmap of Appender structs with string keys.

Enums

  • The above code is defining an enum called Table in Rust programming language. The enum has several variants including Vertex which has fields id, label, and description, Entity which has a single field u32, String which has a single field String, Coordinates which has fields latitude, longitude, precision, and globe_id, Quantity which has fields amount, lower_bound, upper_bound, and unit_id, Time which has fields time and precision, Unknown,