-use crate::schema::activity;
+use crate::{schema::activity, DbUrl};
use serde_json::Value;
use std::fmt::Debug;
pub local: bool,
pub published: chrono::NaiveDateTime,
pub updated: Option<chrono::NaiveDateTime>,
- pub ap_id: Option<String>,
+ pub ap_id: Option<DbUrl>,
pub sensitive: Option<bool>,
}
pub data: Value,
pub local: bool,
pub updated: Option<chrono::NaiveDateTime>,
- pub ap_id: String,
+ pub ap_id: DbUrl,
pub sensitive: bool,
}