pub enum AnnotationSubject<B = BlankNodeId> {
Iri(Iri<String>),
AnonymousIndividual(B),
}Expand description
Subject of an OWL annotation assertion.
Variants§
Trait Implementations§
Source§impl<B: Clone> Clone for AnnotationSubject<B>
impl<B: Clone> Clone for AnnotationSubject<B>
Source§impl<B: Debug> Debug for AnnotationSubject<B>
impl<B: Debug> Debug for AnnotationSubject<B>
Source§impl<'de, B> Deserialize<'de> for AnnotationSubject<B>where
B: Deserialize<'de>,
impl<'de, B> Deserialize<'de> for AnnotationSubject<B>where
B: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<B: Eq> Eq for AnnotationSubject<B>
Source§impl<B: Hash> Hash for AnnotationSubject<B>
impl<B: Hash> Hash for AnnotationSubject<B>
Source§impl<B: PartialEq> PartialEq for AnnotationSubject<B>
impl<B: PartialEq> PartialEq for AnnotationSubject<B>
Source§impl<B> Serialize for AnnotationSubject<B>where
B: Serialize,
impl<B> Serialize for AnnotationSubject<B>where
B: Serialize,
impl<B: PartialEq> StructuralPartialEq for AnnotationSubject<B>
Auto Trait Implementations§
impl<B> Freeze for AnnotationSubject<B>where
B: Freeze,
impl<B> RefUnwindSafe for AnnotationSubject<B>where
B: RefUnwindSafe,
impl<B> Send for AnnotationSubject<B>where
B: Send,
impl<B> Sync for AnnotationSubject<B>where
B: Sync,
impl<B> Unpin for AnnotationSubject<B>where
B: Unpin,
impl<B> UnsafeUnpin for AnnotationSubject<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for AnnotationSubject<B>where
B: UnwindSafe,
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