Trait activitypub::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 Collection for UnorderedCollection
[src]

impl Collection for OrderedCollection
[src]

impl Collection for OrderedCollectionPage
[src]

impl Collection for UnorderedCollectionPage
[src]

Implementors