[][src]Trait activitystreams::ext::Extensible

pub trait Extensible<U> {
    fn extend(self, extension: U) -> Ext<Self, U>
    where
        Self: Sized
; }

A trait implemented (automatically) by objects and links in the ActivityStreams specification

This is used to easily extend objects.

use activitystreams::ext::Extensible;
let vid = Video::new();
let ap_props = ApObjectProperties::default();

let extended_vid = vid.extend(ap_props);

Required methods

fn extend(self, extension: U) -> Ext<Self, U> where
    Self: Sized

Loading content...

Implementors

impl<T, U> Extensible<U> for T where
    T: Base,
    U: Extension<T>, 
[src]

Loading content...