mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 13:31:02 +00:00
Remove useless trait
This commit is contained in:
parent
0b32650c00
commit
aa233abb41
1 changed files with 0 additions and 5 deletions
|
@ -1,14 +1,9 @@
|
||||||
use diesel::PgConnection;
|
use diesel::PgConnection;
|
||||||
use serde_json;
|
use serde_json;
|
||||||
|
|
||||||
use activity_pub::actor::Actor;
|
|
||||||
|
|
||||||
pub trait Object {
|
pub trait Object {
|
||||||
fn serialize(&self, conn: &PgConnection) -> serde_json::Value;
|
fn serialize(&self, conn: &PgConnection) -> serde_json::Value;
|
||||||
|
|
||||||
fn compute_id(&self, conn: &PgConnection) -> String;
|
fn compute_id(&self, conn: &PgConnection) -> String;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Attribuable {
|
|
||||||
fn set_attribution<T>(&self, by: &T) where T: Actor;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue