Trait activitystreams::Collection[][src]

pub trait Collection: Object { }

A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances.

The items within a Collection can be ordered or unordered. The OrderedCollection type MAY be used to identify a Collection whose items are always ordered. In the JSON serialization, the unordered items of a Collection are represented using the items property while ordered items are represented using the orderedItems property.

UnorderedCollection and OrderedCollection types are provided by the activitystreams-types crate.

Implementations on Foreign Types

impl<C, O> Collection for CustomObject<C, O> where
    C: DeserializeOwned + Serialize,
    O: Collection
[src]

Implementors