note lack of support for EntitySchemas
This commit is contained in:
parent
c53655bc52
commit
a982174217
2 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,8 @@ pub struct Entity {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The type of entity: normal entity with a Qid, a property with a Pid, or a lexeme with a Lid.
|
/// The type of entity: normal entity with a Qid, a property with a Pid, or a lexeme with a Lid.
|
||||||
|
///
|
||||||
|
/// EntitySchemas (with E IDs) are currently unsupported.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub enum EntityType {
|
pub enum EntityType {
|
||||||
|
|
|
@ -6,7 +6,10 @@ use std::{fmt, num::ParseIntError, str::FromStr};
|
||||||
pub mod consts;
|
pub mod consts;
|
||||||
|
|
||||||
/// Three main types of IDs entities can have.
|
/// Three main types of IDs entities can have.
|
||||||
|
///
|
||||||
|
/// EntitySchemas (with E IDs) are currently unsupported.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum WikiId {
|
pub enum WikiId {
|
||||||
/// A Qid, representing an entity.
|
/// A Qid, representing an entity.
|
||||||
EntityId(Qid),
|
EntityId(Qid),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue