forked from alemi/upub
chore: prelude to import all ActivityStream traits
This commit is contained in:
parent
a5c51f00ea
commit
efc9c79ab0
1 changed files with 27 additions and 0 deletions
27
src/activitystream/prelude.rs
Normal file
27
src/activitystream/prelude.rs
Normal file
|
@ -0,0 +1,27 @@
|
|||
pub use super::{
|
||||
Base as _, BaseMut as _,
|
||||
link::{Link as _, LinkMut as _},
|
||||
object::{
|
||||
Object as _, ObjectMut as _,
|
||||
tombstone::{Tombstone as _, TombstoneMut as _},
|
||||
relationship::{Relationship as _, RelationshipMut as _},
|
||||
profile::{Profile as _, /* ProfileMut as _ */}, // TODO!
|
||||
place::{Place as _, PlaceMut as _},
|
||||
actor::{Actor as _, ActorMut as _},
|
||||
document::{
|
||||
Document as _, DocumentMut as _, Image as _,
|
||||
},
|
||||
collection::{
|
||||
Collection as _, CollectionMut as _,
|
||||
page::{CollectionPage as _, CollectionPageMut as _},
|
||||
},
|
||||
activity::{
|
||||
Activity as _, ActivityMut as _,
|
||||
reject::{Reject as _, RejectMut as _},
|
||||
offer::{Offer as _, OfferMut as _},
|
||||
intransitive::{IntransitiveActivity as _, IntransitiveActivityMut as _},
|
||||
ignore::{Ignore as _, IgnoreMut as _},
|
||||
accept::{Accept as _, AcceptMut as _},
|
||||
},
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue