[][src]Enum rlay_ontology::ontology::EntityKind

pub enum EntityKind {
    Class,
    ObjectIntersectionOf,
    ObjectUnionOf,
    ObjectComplementOf,
    ObjectOneOf,
    ObjectSomeValuesFrom,
    ObjectAllValuesFrom,
    ObjectHasValue,
    ObjectHasSelf,
    ObjectMinCardinality,
    ObjectMaxCardinality,
    ObjectExactCardinality,
    DataSomeValuesFrom,
    DataAllValuesFrom,
    DataHasValue,
    DataMinCardinality,
    DataMaxCardinality,
    DataExactCardinality,
    ObjectProperty,
    InverseObjectProperty,
    DataProperty,
    Annotation,
    Individual,
    AnnotationProperty,
    ClassAssertion,
    NegativeClassAssertion,
    ObjectPropertyAssertion,
    NegativeObjectPropertyAssertion,
    DataPropertyAssertion,
    NegativeDataPropertyAssertion,
    AnnotationAssertion,
    NegativeAnnotationAssertion,
    Literal,
    Datatype,
    DataIntersectionOf,
    DataUnionOf,
    DataComplementOf,
    DataOneOf,
}

Variants

Class
ObjectIntersectionOf
ObjectUnionOf
ObjectComplementOf
ObjectOneOf
ObjectSomeValuesFrom
ObjectAllValuesFrom
ObjectHasValue
ObjectHasSelf
ObjectMinCardinality
ObjectMaxCardinality
ObjectExactCardinality
DataSomeValuesFrom
DataAllValuesFrom
DataHasValue
DataMinCardinality
DataMaxCardinality
DataExactCardinality
ObjectProperty
InverseObjectProperty
DataProperty
Annotation
Individual
AnnotationProperty
ClassAssertion
NegativeClassAssertion
ObjectPropertyAssertion
NegativeObjectPropertyAssertion
DataPropertyAssertion
NegativeDataPropertyAssertion
AnnotationAssertion
NegativeAnnotationAssertion
Literal
Datatype
DataIntersectionOf
DataUnionOf
DataComplementOf
DataOneOf

Methods

impl EntityKind[src]

pub fn variants() -> &'static [&'static str][src]

Return a slice containing the names of the variants of this enum

impl EntityKind[src]

pub fn from_name(name: &str) -> Result<Self, ()>[src]

pub fn empty_entity(&self) -> Entity[src]

pub fn id(&self) -> u64[src]

impl EntityKind[src]

pub fn from_event_name(event_name: &str) -> Result<Self, ()>[src]

pub fn retrieve_fn_name(&self) -> String[src]

Trait Implementations

impl Clone for EntityKind[src]

impl Debug for EntityKind[src]

impl<'a> Into<&'a str> for EntityKind[src]

impl<'a> Into<&'a str> for &'a EntityKind[src]

impl PartialEq<EntityKind> for EntityKind[src]

impl StructuralPartialEq for EntityKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.