Remove useless trait

This commit is contained in:
Bat 2018-05-18 23:28:40 +01:00
parent 0b32650c00
commit aa233abb41
1 changed files with 0 additions and 5 deletions

View File

@ -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<T>(&self, by: &T) where T: Actor;
}