Struct wikidata::ClaimValue [−][src]
pub struct ClaimValue {
pub data: ClaimValueData,
pub rank: Rank,
pub id: String,
pub qualifiers: Vec<(Pid, ClaimValueData)>,
pub references: Vec<ReferenceGroup>,
}Expand description
A claim value.
Fields
data: ClaimValueDataThe data of the claim.
rank: RankThe rank of this claim.
id: StringThe globally unique claim ID.
qualifiers: Vec<(Pid, ClaimValueData)>All of the qualifiers for this claim.
references: Vec<ReferenceGroup>All of the groups of references for this claim.
Implementations
Try to parse a JSON claim to a claim value.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ClaimValue
impl Send for ClaimValue
impl Sync for ClaimValue
impl Unpin for ClaimValue
impl UnwindSafe for ClaimValue
Blanket Implementations
Mutably borrows from an owned value. Read more
