[][src]Trait activitystreams_new::actor::AsApActor

pub trait AsApActor<Inner>: Actor {
    fn ap_actor_ref(&self) -> &ApActor<Inner>;
fn ap_actor_mut(&mut self) -> &mut ApActor<Inner>; }

Implementation trait for deriving ActivityPub Actor methods for a type

Any type implementing AsObject will automatically gain methods provided by ApActorExt

Required methods

fn ap_actor_ref(&self) -> &ApActor<Inner>

Immutable borrow of ApActor<Inner>

fn ap_actor_mut(&mut self) -> &mut ApActor<Inner>

Mutable borrow of ApActor<Inner>

Loading content...

Implementors

impl<Inner> AsApActor<Inner> for ApActor<Inner> where
    Inner: Actor
[src]

Loading content...