Struct wikibase::Snak [] [src]

pub struct Snak { /* fields omitted */ }

Snak

Each Snak has a property and a value (data_value). Each claim has one main snak and an arbitrary amount of snaks for qualifiers and references.

Data type

  • commonsMedia
  • wikibase-item

Methods

impl Snak
[src]

Main snak data structure

The main snak is an object that contains the main claim information: the property, datatype and the value. The claim, qualifiers and references are the 3 snaks of a claim or statement object.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for Snak
[src]

[src]

Formats the value using the given formatter.