pub struct OntologyRelationShape {
pub domain: OntologyDomainConstraint,
pub range: OntologyRangeConstraint,
}Expand description
One SHACL-like domain/range shape attached to an OWL object property.
Fields§
§domain: OntologyDomainConstraint§range: OntologyRangeConstraintTrait Implementations§
Source§impl Clone for OntologyRelationShape
impl Clone for OntologyRelationShape
Source§fn clone(&self) -> OntologyRelationShape
fn clone(&self) -> OntologyRelationShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OntologyRelationShape
Source§impl Debug for OntologyRelationShape
impl Debug for OntologyRelationShape
impl Eq for OntologyRelationShape
Source§impl PartialEq for OntologyRelationShape
impl PartialEq for OntologyRelationShape
Source§impl Serialize for OntologyRelationShape
impl Serialize for OntologyRelationShape
impl StructuralPartialEq for OntologyRelationShape
Auto Trait Implementations§
impl Freeze for OntologyRelationShape
impl RefUnwindSafe for OntologyRelationShape
impl Send for OntologyRelationShape
impl Sync for OntologyRelationShape
impl Unpin for OntologyRelationShape
impl UnsafeUnpin for OntologyRelationShape
impl UnwindSafe for OntologyRelationShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.