[][src]Enum rlay_ontology::ontology::Entity

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

Variants

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

Methods

impl Entity[src]

pub fn kind(&self) -> EntityKind[src]

impl Entity[src]

Trait Implementations

impl Canonicalize for Entity[src]

impl<'a> CidFields<'a> for Entity[src]

type Iter = EntityCidFields<'a>

impl Clone for Entity[src]

impl<'a> DataFields<'a> for Entity[src]

type Iter = EntityDataFields<'a>

impl Debug for Entity[src]

impl Into<Entity> for Class[src]

impl Into<Entity> for ObjectIntersectionOf[src]

impl Into<Entity> for ObjectMaxCardinality[src]

impl Into<Entity> for ObjectExactCardinality[src]

impl Into<Entity> for DataSomeValuesFrom[src]

impl Into<Entity> for DataAllValuesFrom[src]

impl Into<Entity> for DataHasValue[src]

impl Into<Entity> for DataMinCardinality[src]

impl Into<Entity> for DataMaxCardinality[src]

impl Into<Entity> for DataExactCardinality[src]

impl Into<Entity> for ObjectProperty[src]

impl Into<Entity> for InverseObjectProperty[src]

impl Into<Entity> for ObjectUnionOf[src]

impl Into<Entity> for DataProperty[src]

impl Into<Entity> for Annotation[src]

impl Into<Entity> for Individual[src]

impl Into<Entity> for AnnotationProperty[src]

impl Into<Entity> for ClassAssertion[src]

impl Into<Entity> for NegativeClassAssertion[src]

impl Into<Entity> for ObjectPropertyAssertion[src]

impl Into<Entity> for NegativeObjectPropertyAssertion[src]

impl Into<Entity> for DataPropertyAssertion[src]

impl Into<Entity> for NegativeDataPropertyAssertion[src]

impl Into<Entity> for ObjectComplementOf[src]

impl Into<Entity> for AnnotationAssertion[src]

impl Into<Entity> for NegativeAnnotationAssertion[src]

impl Into<Entity> for Literal[src]

impl Into<Entity> for Datatype[src]

impl Into<Entity> for DataIntersectionOf[src]

impl Into<Entity> for DataUnionOf[src]

impl Into<Entity> for DataComplementOf[src]

impl Into<Entity> for DataOneOf[src]

impl Into<Entity> for EntityV0[src]

impl Into<Entity> for ObjectOneOf[src]

impl Into<Entity> for ObjectSomeValuesFrom[src]

impl Into<Entity> for ObjectAllValuesFrom[src]

impl Into<Entity> for ObjectHasValue[src]

impl Into<Entity> for ObjectHasSelf[src]

impl Into<Entity> for ObjectMinCardinality[src]

impl Into<EntityV0> for Entity[src]

impl PartialEq<Entity> for Entity[src]

impl StructuralPartialEq for Entity[src]

impl ToCid for Entity[src]

Auto Trait Implementations

impl RefUnwindSafe for Entity

impl Send for Entity

impl Sync for Entity

impl Unpin for Entity

impl UnwindSafe for Entity

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.