pub trait Collection: Object { }Expand description
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.
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.