Don't implement activitypub::Link for Id

This commit is contained in:
Kitaiti Makoto 2022-05-03 02:51:36 +09:00
parent b17884681d
commit d96940c848

View file

@ -1,4 +1,3 @@
use activitypub::Link;
use activitystreams::{
actor::{ApActor, Group, Person},
base::{AnyBase, Base, Extends},
@ -215,8 +214,6 @@ pub trait IntoId {
fn into_id(self) -> Id;
}
impl Link for Id {}
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ApSignature {