pub trait AsApActor: Actor {
    type Inner;

    fn ap_actor_ref(&self) -> &ApActor<Self::Inner>;
    fn ap_actor_mut(&mut self) -> &mut ApActor<Self::Inner>;
}
Expand description

Implementation trait for deriving ActivityPub Actor methods for a type

Any type implementing AsObject will automatically gain methods provided by ApActorExt

Required Associated Types§

Required Methods§

Immutable borrow of ApActor<Inner>

Mutable borrow of ApActor<Inner>

Implementors§