diff --git a/src/activitystream/object/relationship.rs b/src/activitystream/object/relationship.rs index 7d69f9d2..a9e12478 100644 --- a/src/activitystream/object/relationship.rs +++ b/src/activitystream/object/relationship.rs @@ -3,13 +3,15 @@ use crate::activitystream::Node; pub trait Relationship : super::Object { fn subject(&self) -> Node { Node::Empty:: } fn relationship(&self) -> Option<&str> { None } // TODO what does this mean??? - fn object(&self) -> Node { Node::Empty:: } + // TODO was just object but clashes with Activity + fn relationship_object(&self) -> Node { Node::Empty:: } } pub trait RelationshipMut : super::ObjectMut { fn set_subject(self, val: Node) -> Self; fn set_relationship(self, val: Option<&str>) -> Self; // TODO what does this mean??? - fn set_object(self, val: Node) -> Self; + // TODO was just object but clashes with Activity + fn set_relationship_object(self, val: Node) -> Self; } impl Relationship for serde_json::Value {