pub enum Individual<B = BlankNodeId> {
Named(Iri<String>),
Anonymous(B),
}Expand description
An OWL individual with a caller-selected anonymous identity representation.
Variants§
Named(Iri<String>)
A named individual.
Anonymous(B)
An anonymous individual, scoped by the default RDF identity type.
Implementations§
Trait Implementations§
Source§impl<B: Clone> Clone for Individual<B>
impl<B: Clone> Clone for Individual<B>
Source§impl<B: Debug> Debug for Individual<B>
impl<B: Debug> Debug for Individual<B>
Source§impl<'de, B> Deserialize<'de> for Individual<B>where
B: Deserialize<'de>,
impl<'de, B> Deserialize<'de> for Individual<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 Individual<B>
Source§impl<B: Hash> Hash for Individual<B>
impl<B: Hash> Hash for Individual<B>
Source§impl<B: PartialEq> PartialEq for Individual<B>
impl<B: PartialEq> PartialEq for Individual<B>
Source§impl<B> Serialize for Individual<B>where
B: Serialize,
impl<B> Serialize for Individual<B>where
B: Serialize,
impl<B: PartialEq> StructuralPartialEq for Individual<B>
Auto Trait Implementations§
impl<B> Freeze for Individual<B>where
B: Freeze,
impl<B> RefUnwindSafe for Individual<B>where
B: RefUnwindSafe,
impl<B> Send for Individual<B>where
B: Send,
impl<B> Sync for Individual<B>where
B: Sync,
impl<B> Unpin for Individual<B>where
B: Unpin,
impl<B> UnsafeUnpin for Individual<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Individual<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