Implement User::outbox_page07()
This commit is contained in:
parent
0979471e54
commit
e7eea3901f
@ -15,7 +15,9 @@ use activitystreams::{
|
|||||||
activity::Delete as Delete07,
|
activity::Delete as Delete07,
|
||||||
actor::AsApActor,
|
actor::AsApActor,
|
||||||
actor::{ApActor as ApActor07, Endpoints as Endpoints07, Person as Person07},
|
actor::{ApActor as ApActor07, Endpoints as Endpoints07, Person as Person07},
|
||||||
collection::OrderedCollection as OrderedCollection07,
|
collection::{
|
||||||
|
OrderedCollection as OrderedCollection07, OrderedCollectionPage as OrderedCollectionPage07,
|
||||||
|
},
|
||||||
iri_string::types::IriString,
|
iri_string::types::IriString,
|
||||||
object::{AsObject as _, Image as Image07, Tombstone as Tombstone07},
|
object::{AsObject as _, Image as Image07, Tombstone as Tombstone07},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
@ -480,6 +482,15 @@ impl User {
|
|||||||
self.outbox_collection_page(conn, (min, max))?,
|
self.outbox_collection_page(conn, (min, max))?,
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
pub fn outbox_page07(
|
||||||
|
&self,
|
||||||
|
conn: &Connection,
|
||||||
|
(min, max): (i32, i32),
|
||||||
|
) -> Result<ActivityStream<OrderedCollectionPage07>> {
|
||||||
|
Ok(ActivityStream::new(
|
||||||
|
self.outbox_collection_page07(conn, (min, max))?,
|
||||||
|
))
|
||||||
|
}
|
||||||
pub fn outbox_collection_page(
|
pub fn outbox_collection_page(
|
||||||
&self,
|
&self,
|
||||||
conn: &Connection,
|
conn: &Connection,
|
||||||
|
Loading…
Reference in New Issue
Block a user