[−][src]Enum rlay_ontology::ontology::Entity
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)Methods
impl Entity[src]
impl Entitypub fn kind(&self) -> EntityKind[src]
pub fn kind(&self) -> EntityKindimpl Entity[src]
impl Entitypub fn get_subject(&self) -> Option<&Vec<u8>>[src]
pub fn get_subject(&self) -> Option<&Vec<u8>>pub fn as_class_assertion(&self) -> Option<&ClassAssertion>[src]
pub fn as_class_assertion(&self) -> Option<&ClassAssertion>pub fn as_negative_class_assertion(&self) -> Option<&NegativeClassAssertion>[src]
pub fn as_negative_class_assertion(&self) -> Option<&NegativeClassAssertion>Trait Implementations
impl Clone for Entity[src]
impl Clone for Entityfn clone(&self) -> Entity[src]
fn clone(&self) -> EntityReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq<Entity> for Entity[src]
impl PartialEq<Entity> for Entityfn eq(&self, other: &Entity) -> bool[src]
fn eq(&self, other: &Entity) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Entity) -> bool[src]
fn ne(&self, other: &Entity) -> boolThis method tests for !=.
impl Debug for Entity[src]
impl Debug for Entityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Into<Entity> for Class[src]
impl Into<Entity> for Classimpl Into<Entity> for ObjectIntersectionOf[src]
impl Into<Entity> for ObjectIntersectionOfimpl Into<Entity> for ObjectUnionOf[src]
impl Into<Entity> for ObjectUnionOfimpl Into<Entity> for ObjectComplementOf[src]
impl Into<Entity> for ObjectComplementOfimpl Into<Entity> for ObjectOneOf[src]
impl Into<Entity> for ObjectOneOfimpl Into<Entity> for ObjectSomeValuesFrom[src]
impl Into<Entity> for ObjectSomeValuesFromimpl Into<Entity> for ObjectAllValuesFrom[src]
impl Into<Entity> for ObjectAllValuesFromimpl Into<Entity> for ObjectHasValue[src]
impl Into<Entity> for ObjectHasValueimpl Into<Entity> for ObjectHasSelf[src]
impl Into<Entity> for ObjectHasSelfimpl Into<Entity> for ObjectMinCardinality[src]
impl Into<Entity> for ObjectMinCardinalityimpl Into<Entity> for ObjectMaxCardinality[src]
impl Into<Entity> for ObjectMaxCardinalityimpl Into<Entity> for ObjectExactCardinality[src]
impl Into<Entity> for ObjectExactCardinalityimpl Into<Entity> for DataSomeValuesFrom[src]
impl Into<Entity> for DataSomeValuesFromimpl Into<Entity> for DataAllValuesFrom[src]
impl Into<Entity> for DataAllValuesFromimpl Into<Entity> for DataHasValue[src]
impl Into<Entity> for DataHasValueimpl Into<Entity> for DataMinCardinality[src]
impl Into<Entity> for DataMinCardinalityimpl Into<Entity> for DataMaxCardinality[src]
impl Into<Entity> for DataMaxCardinalityimpl Into<Entity> for DataExactCardinality[src]
impl Into<Entity> for DataExactCardinalityimpl Into<Entity> for ObjectProperty[src]
impl Into<Entity> for ObjectPropertyimpl Into<Entity> for InverseObjectProperty[src]
impl Into<Entity> for InverseObjectPropertyimpl Into<Entity> for DataProperty[src]
impl Into<Entity> for DataPropertyimpl Into<Entity> for Annotation[src]
impl Into<Entity> for Annotationimpl Into<Entity> for Individual[src]
impl Into<Entity> for Individualimpl Into<Entity> for AnnotationProperty[src]
impl Into<Entity> for AnnotationPropertyimpl Into<Entity> for ClassAssertion[src]
impl Into<Entity> for ClassAssertionimpl Into<Entity> for NegativeClassAssertion[src]
impl Into<Entity> for NegativeClassAssertionimpl Into<Entity> for ObjectPropertyAssertion[src]
impl Into<Entity> for ObjectPropertyAssertionimpl Into<Entity> for NegativeObjectPropertyAssertion[src]
impl Into<Entity> for NegativeObjectPropertyAssertionimpl Into<Entity> for DataPropertyAssertion[src]
impl Into<Entity> for DataPropertyAssertionimpl Into<Entity> for NegativeDataPropertyAssertion[src]
impl Into<Entity> for NegativeDataPropertyAssertionAuto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more