Enum wikibase::SnakType [] [src]

pub enum SnakType {
    NoValue,
    UnknownValue,
    Value,
}

SnakType

The SnakType is set whether a claim has an actual value (H has one proton), or the value is unknown (Cleopatra's shoe size) or non-existant (Earth's eye color).

Json mapping

UnknownValue = "somevalue" NoValue = "novalue" Value = "value"

Variants

Methods

impl SnakType
[src]

[src]

Trait Implementations

impl Debug for SnakType
[src]

[src]

Formats the value using the given formatter.