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),