[−][src]Module activitystreams::markers
Marker traits for bounding methods
use activitystreams::{base::BaseExt, markers::Activity}; /// Applies the name "hi" to any given activity fn manipulator<T, Kind>(mut some_type: T) -> T where T: Activity + BaseExt<Kind>, { some_type.set_name("hi"); some_type }
Traits
Activity | An Activity is a subtype of |
Actor |
|
Base | The lowermost trait of the trait structure |
Collection | A Collection is a subtype of |
CollectionPage | Used to represent distinct subsets of items from a Collection. |
IntransitiveActivity | Instances of |
Link | A Link is an indirect, qualified reference to a resource identified by a URL. |
Object | Describes an object of any kind. |