Struct horned_owl::model::AnnotationAssertion
source · pub struct AnnotationAssertion {
pub annotation_subject: IRI,
pub annotation: Annotation,
}
Expand description
An annotation assertion axiom
States that annotation
applies to the
annotation_subject
. Annotations refer to an IRI
rather
than the NamedEntity
identified by that IRI
.
Fields
annotation_subject: IRI
annotation: Annotation
Implementations
sourceimpl AnnotationAssertion
impl AnnotationAssertion
pub fn new(
annotation_subject: IRI,
annotation: Annotation
) -> AnnotationAssertion
Trait Implementations
sourceimpl Clone for AnnotationAssertion
impl Clone for AnnotationAssertion
sourcefn clone(&self) -> AnnotationAssertion
fn clone(&self) -> AnnotationAssertion
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 AnnotationAssertion
impl Debug for AnnotationAssertion
sourceimpl From<AnnotationAssertion> for AnnotatedAxiom
impl From<AnnotationAssertion> for AnnotatedAxiom
sourcefn from(ax: AnnotationAssertion) -> AnnotatedAxiom
fn from(ax: AnnotationAssertion) -> AnnotatedAxiom
Converts to this type from the input type.
sourceimpl From<AnnotationAssertion> for Axiom
impl From<AnnotationAssertion> for Axiom
sourcefn from(ax: AnnotationAssertion) -> Axiom
fn from(ax: AnnotationAssertion) -> Axiom
Converts to this type from the input type.
sourceimpl Hash for AnnotationAssertion
impl Hash for AnnotationAssertion
sourceimpl Ord for AnnotationAssertion
impl Ord for AnnotationAssertion
sourcefn cmp(&self, other: &AnnotationAssertion) -> Ordering
fn cmp(&self, other: &AnnotationAssertion) -> 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<AnnotationAssertion> for AnnotationAssertion
impl PartialEq<AnnotationAssertion> for AnnotationAssertion
sourcefn eq(&self, other: &AnnotationAssertion) -> bool
fn eq(&self, other: &AnnotationAssertion) -> bool
sourceimpl PartialOrd<AnnotationAssertion> for AnnotationAssertion
impl PartialOrd<AnnotationAssertion> for AnnotationAssertion
sourcefn partial_cmp(&self, other: &AnnotationAssertion) -> Option<Ordering>
fn partial_cmp(&self, other: &AnnotationAssertion) -> 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 AnnotationAssertion
impl StructuralEq for AnnotationAssertion
impl StructuralPartialEq for AnnotationAssertion
Auto Trait Implementations
impl RefUnwindSafe for AnnotationAssertion
impl !Send for AnnotationAssertion
impl !Sync for AnnotationAssertion
impl Unpin for AnnotationAssertion
impl UnwindSafe for AnnotationAssertion
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