Trait CollectionPage

Source
pub trait CollectionPage: Collection { }
Expand description

Used to represent distinct subsets of items from a Collection.

A Collection can contain a large number of items. Often, it becomes impractical for an implementation to serialize every item contained by a Collection using the items (or ordered_items) property alone. In such cases, the items within a Collection can be divided into distinct subsets or “pages”. A page is identified using the CollectionPage type.

UnorderedCollectionPage and OrderedCollectionPage types are provied by the activitystreams-types crate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§