pub enum SpgTypeKind {
BasicType,
StandardType,
EntityType,
IndexType,
ConceptType,
EventType,
}Expand description
OpenSPG type kind, serialized in SCREAMING_SNAKE_CASE on the wire.
Variants§
BasicType
Built-in scalar type (Text, Integer, Float…).
StandardType
Reusable constrained value type (e.g. a phone number).
EntityType
Entity: a thing with identity and properties.
IndexType
Index type in the OpenSPG sense.
ConceptType
Concept: a taxonomy/category node.
EventType
Event: something that happened, usually with participants.
Trait Implementations§
Source§impl Clone for SpgTypeKind
impl Clone for SpgTypeKind
Source§fn clone(&self) -> SpgTypeKind
fn clone(&self) -> SpgTypeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpgTypeKind
Source§impl Debug for SpgTypeKind
impl Debug for SpgTypeKind
Source§impl<'de> Deserialize<'de> for SpgTypeKind
impl<'de> Deserialize<'de> for SpgTypeKind
Source§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
impl Eq for SpgTypeKind
Source§impl PartialEq for SpgTypeKind
impl PartialEq for SpgTypeKind
Source§impl Serialize for SpgTypeKind
impl Serialize for SpgTypeKind
impl StructuralPartialEq for SpgTypeKind
Auto Trait Implementations§
impl Freeze for SpgTypeKind
impl RefUnwindSafe for SpgTypeKind
impl Send for SpgTypeKind
impl Sync for SpgTypeKind
impl Unpin for SpgTypeKind
impl UnsafeUnpin for SpgTypeKind
impl UnwindSafe for SpgTypeKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more