From a98217421760ff395abddbadb16853a358ffc9d3 Mon Sep 17 00:00:00 2001 From: Smitty Date: Sat, 10 Dec 2022 15:43:41 -0500 Subject: [PATCH] note lack of support for EntitySchemas --- src/entity.rs | 2 ++ src/ids.rs | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/entity.rs b/src/entity.rs index 211d59d..2968946 100755 --- a/src/entity.rs +++ b/src/entity.rs @@ -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. +/// +/// EntitySchemas (with E IDs) are currently unsupported. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] #[non_exhaustive] pub enum EntityType { diff --git a/src/ids.rs b/src/ids.rs index 519b647..921e85d 100755 --- a/src/ids.rs +++ b/src/ids.rs @@ -6,7 +6,10 @@ use std::{fmt, num::ParseIntError, str::FromStr}; pub mod consts; /// Three main types of IDs entities can have. +/// +/// EntitySchemas (with E IDs) are currently unsupported. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] +#[non_exhaustive] pub enum WikiId { /// A Qid, representing an entity. EntityId(Qid),