Trait activitypub::CollectionPage [−][src]
pub trait CollectionPage: Collection { }
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.
Implementations on Foreign Types
impl CollectionPage for UnorderedCollectionPage
[src]
impl CollectionPage for UnorderedCollectionPage
impl CollectionPage for OrderedCollectionPage
[src]
impl CollectionPage for OrderedCollectionPage
Implementors
impl<C, O> CollectionPage for CustomObject<C, O> where
C: DeserializeOwned + Serialize,
O: CollectionPage,impl CollectionPage for activitypub::collection::UnorderedCollectionPage
impl CollectionPage for activitypub::collection::OrderedCollectionPage