diff --git a/src/activity_pub/object.rs b/src/activity_pub/object.rs index c705d236..c3d76893 100644 --- a/src/activity_pub/object.rs +++ b/src/activity_pub/object.rs @@ -1,14 +1,9 @@ use diesel::PgConnection; use serde_json; -use activity_pub::actor::Actor; - pub trait Object { fn serialize(&self, conn: &PgConnection) -> serde_json::Value; fn compute_id(&self, conn: &PgConnection) -> String; } -pub trait Attribuable { - fn set_attribution(&self, by: &T) where T: Actor; -}