Activity

Trait Activity 

Source
pub trait Activity: DeliverableObject {
    // Required methods
    fn actor_id(&self) -> &Url;
    fn object_id(&self) -> &Url;
}
Expand description

A type that represents an Activity

Required Methods§

Source

fn actor_id(&self) -> &Url

The Actor performing the activity

Source

fn object_id(&self) -> &Url

The object being performed upon

Implementations on Foreign Types§

Source§

impl<'a, T> Activity for &'a T
where T: Activity,

Source§

fn actor_id(&self) -> &Url

Source§

fn object_id(&self) -> &Url

Source§

impl<'a, T> Activity for &'a mut T
where T: Activity,

Source§

fn actor_id(&self) -> &Url

Source§

fn object_id(&self) -> &Url

Source§

impl<T> Activity for Box<T>
where T: Activity,

Source§

fn actor_id(&self) -> &Url

Source§

fn object_id(&self) -> &Url

Source§

impl<T> Activity for Rc<T>
where T: Activity,

Source§

fn actor_id(&self) -> &Url

Source§

fn object_id(&self) -> &Url

Source§

impl<T> Activity for Arc<T>
where T: Activity,

Source§

fn actor_id(&self) -> &Url

Source§

fn object_id(&self) -> &Url

Implementors§