Struct horned_owl::model::DataProperty
source · pub struct DataProperty(pub IRI);
Expand description
An OWL DataProperty is a relationship between part of an ontology and some concrete information.
Tuple Fields
0: IRI
Implementations
Trait Implementations
sourceimpl Clone for DataProperty
impl Clone for DataProperty
sourcefn clone(&self) -> DataProperty
fn clone(&self) -> DataProperty
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 DataProperty
impl Debug for DataProperty
sourceimpl<'a> From<&'a DataProperty> for IRI
impl<'a> From<&'a DataProperty> for IRI
sourcefn from(n: &DataProperty) -> IRI
fn from(n: &DataProperty) -> IRI
Converts to this type from the input type.
sourceimpl<'a> From<&'a DataProperty> for String
impl<'a> From<&'a DataProperty> for String
sourcefn from(n: &DataProperty) -> String
fn from(n: &DataProperty) -> String
Converts to this type from the input type.
sourceimpl<'a> From<&'a IRI> for DataProperty
impl<'a> From<&'a IRI> for DataProperty
sourcefn from(iri: &IRI) -> DataProperty
fn from(iri: &IRI) -> DataProperty
Converts to this type from the input type.
sourceimpl From<DataProperty> for IRI
impl From<DataProperty> for IRI
sourcefn from(n: DataProperty) -> IRI
fn from(n: DataProperty) -> IRI
Converts to this type from the input type.
sourceimpl From<DataProperty> for NamedEntity
impl From<DataProperty> for NamedEntity
sourcefn from(n: DataProperty) -> NamedEntity
fn from(n: DataProperty) -> NamedEntity
Converts to this type from the input type.
sourceimpl From<DataProperty> for String
impl From<DataProperty> for String
sourcefn from(n: DataProperty) -> String
fn from(n: DataProperty) -> String
Converts to this type from the input type.
sourceimpl From<IRI> for DataProperty
impl From<IRI> for DataProperty
sourcefn from(iri: IRI) -> DataProperty
fn from(iri: IRI) -> DataProperty
Converts to this type from the input type.
sourceimpl Hash for DataProperty
impl Hash for DataProperty
sourceimpl Ord for DataProperty
impl Ord for DataProperty
sourcefn cmp(&self, other: &DataProperty) -> Ordering
fn cmp(&self, other: &DataProperty) -> 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<DataProperty> for DataProperty
impl PartialEq<DataProperty> for DataProperty
sourcefn eq(&self, other: &DataProperty) -> bool
fn eq(&self, other: &DataProperty) -> bool
sourceimpl PartialOrd<DataProperty> for DataProperty
impl PartialOrd<DataProperty> for DataProperty
sourcefn partial_cmp(&self, other: &DataProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &DataProperty) -> 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 DataProperty
impl StructuralEq for DataProperty
impl StructuralPartialEq for DataProperty
Auto Trait Implementations
impl RefUnwindSafe for DataProperty
impl !Send for DataProperty
impl !Sync for DataProperty
impl Unpin for DataProperty
impl UnwindSafe for DataProperty
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