Struct horned_owl::model::ObjectProperty
source · pub struct ObjectProperty(pub IRI);
Expand description
An OWL ObjectProperty is a relationship between two individuals.
Although the relationship is between individuals, it is most
often expressed as a relationship between two classes. See
ClassExpression
for more information.
Tuple Fields
0: IRI
Implementations
Trait Implementations
sourceimpl Clone for ObjectProperty
impl Clone for ObjectProperty
sourcefn clone(&self) -> ObjectProperty
fn clone(&self) -> ObjectProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ObjectProperty
impl Debug for ObjectProperty
sourceimpl<'a> From<&'a IRI> for ObjectProperty
impl<'a> From<&'a IRI> for ObjectProperty
sourcefn from(iri: &IRI) -> ObjectProperty
fn from(iri: &IRI) -> ObjectProperty
Converts to this type from the input type.
sourceimpl<'a> From<&'a ObjectProperty> for IRI
impl<'a> From<&'a ObjectProperty> for IRI
sourcefn from(n: &ObjectProperty) -> IRI
fn from(n: &ObjectProperty) -> IRI
Converts to this type from the input type.
sourceimpl<'a> From<&'a ObjectProperty> for String
impl<'a> From<&'a ObjectProperty> for String
sourcefn from(n: &ObjectProperty) -> String
fn from(n: &ObjectProperty) -> String
Converts to this type from the input type.
sourceimpl From<IRI> for ObjectProperty
impl From<IRI> for ObjectProperty
sourcefn from(iri: IRI) -> ObjectProperty
fn from(iri: IRI) -> ObjectProperty
Converts to this type from the input type.
sourceimpl From<ObjectProperty> for IRI
impl From<ObjectProperty> for IRI
sourcefn from(n: ObjectProperty) -> IRI
fn from(n: ObjectProperty) -> IRI
Converts to this type from the input type.
sourceimpl From<ObjectProperty> for NamedEntity
impl From<ObjectProperty> for NamedEntity
sourcefn from(n: ObjectProperty) -> NamedEntity
fn from(n: ObjectProperty) -> NamedEntity
Converts to this type from the input type.
sourceimpl From<ObjectProperty> for String
impl From<ObjectProperty> for String
sourcefn from(n: ObjectProperty) -> String
fn from(n: ObjectProperty) -> String
Converts to this type from the input type.
sourceimpl Hash for ObjectProperty
impl Hash for ObjectProperty
sourceimpl Ord for ObjectProperty
impl Ord for ObjectProperty
sourcefn cmp(&self, other: &ObjectProperty) -> Ordering
fn cmp(&self, other: &ObjectProperty) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ObjectProperty> for ObjectProperty
impl PartialEq<ObjectProperty> for ObjectProperty
sourcefn eq(&self, other: &ObjectProperty) -> bool
fn eq(&self, other: &ObjectProperty) -> bool
sourceimpl PartialOrd<ObjectProperty> for ObjectProperty
impl PartialOrd<ObjectProperty> for ObjectProperty
sourcefn partial_cmp(&self, other: &ObjectProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectProperty) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ObjectProperty
impl StructuralEq for ObjectProperty
impl StructuralPartialEq for ObjectProperty
Auto Trait Implementations
impl RefUnwindSafe for ObjectProperty
impl !Send for ObjectProperty
impl !Sync for ObjectProperty
impl Unpin for ObjectProperty
impl UnwindSafe for ObjectProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more