[][src]Trait activitystreams::ext::Extension

pub trait Extension<T> where
    T: Base
{ fn extends(self, base: T) -> Ext<T, Self>
    where
        Self: Sized
, { ... } }

A trait implemented by extensions to the ActivityStreams specification

This is implemented for a couple types by default, such as ApObjectProperties, and ApActorProperties.

Extensions are not intended to be used as trait objects

Provided methods

fn extends(self, base: T) -> Ext<T, Self> where
    Self: Sized

A default implementation that simply returns the Ext type with Self and the base type inside of it.

Loading content...

Implementors

impl<T> Extension<T> for ApActorProperties where
    T: Actor
[src]

impl<T> Extension<T> for ApObjectProperties where
    T: Object
[src]

Loading content...