pub enum ObjectPropertyExpression {
Named(Iri<String>),
InverseOf(Iri<String>),
}Expand description
A named object property or inverse of a named object property.
Variants§
Named(Iri<String>)
A named property.
InverseOf(Iri<String>)
The inverse of a named property, as required by the structural grammar.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectPropertyExpression
impl Clone for ObjectPropertyExpression
Source§impl Debug for ObjectPropertyExpression
impl Debug for ObjectPropertyExpression
Source§impl<'de> Deserialize<'de> for ObjectPropertyExpression
impl<'de> Deserialize<'de> for ObjectPropertyExpression
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 Eq for ObjectPropertyExpression
Source§impl Hash for ObjectPropertyExpression
impl Hash for ObjectPropertyExpression
Source§impl PartialEq for ObjectPropertyExpression
impl PartialEq for ObjectPropertyExpression
Source§impl Serialize for ObjectPropertyExpression
impl Serialize for ObjectPropertyExpression
impl StructuralPartialEq for ObjectPropertyExpression
Auto Trait Implementations§
impl Freeze for ObjectPropertyExpression
impl RefUnwindSafe for ObjectPropertyExpression
impl Send for ObjectPropertyExpression
impl Sync for ObjectPropertyExpression
impl Unpin for ObjectPropertyExpression
impl UnsafeUnpin for ObjectPropertyExpression
impl UnwindSafe for ObjectPropertyExpression
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