Implement activity_pub::Actor for models::blogs::Blog

This commit is contained in:
Bat
2018-04-23 13:00:11 +01:00
parent 74ce9aeec0
commit ab66886093
2 changed files with 18 additions and 2 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
use models::instance::Instance;
use diesel::PgConnection;
trait Actor {
fn get_box_prefix() -> String;
pub trait Actor {
fn get_box_prefix() -> &'static str;
fn get_actor_id(&self) -> String;