use crate::Node;
pub trait Relationship : super::Object {
fn subject(&self) -> Node<Self::Object> { Node::Empty }
fn relationship(&self) -> Option<&str> { None } fn relationship_object(&self) -> Node<Self::Object> { Node::Empty }
}
pub trait RelationshipMut : super::ObjectMut {
fn set_subject(self, val: Node<Self::Object>) -> Self;
fn set_relationship(self, val: Option<&str>) -> Self; fn set_relationship_object(self, val: Node<Self::Object>) -> Self;
}
#[cfg(feature = "unstructured")]
impl Relationship for serde_json::Value {
}