pub struct GetCompilationRequest {
pub sort: Option<GetCompilationSort>,
pub topic_ids: Option<Vec<i64>>,
pub topic_group_id: Option<i64>,
pub since: Option<i64>,
pub count: Option<u32>,
pub page: Option<u32>,
pub ncomments: Option<u32>,
pub get_tags: Option<bool>,
pub get_tags_for_topic: Option<bool>,
pub get_stats_for_topic: Option<bool>,
}
Expand description
Get the data about a topic group
https://www.scoop.it/dev/api/1/urls#compilation
Fields§
§sort: Option<GetCompilationSort>
method used for sorting posts (GetCompilationSort::Rss if not specified)
topic_ids: Option<Vec<i64>>
a list of topic ids that will be used to create the compilation
topic_group_id: Option<i64>
create the compilation from topics in this topic group
since: Option<i64>
no posts older than this timestamp will be returned (in millis from unix epoch)
count: Option<u32>
maximum number of posts to return
page: Option<u32>
page number of posts to retrieve
ncomments: Option<u32>
the maximum number of comments to retrieve for each returned post
return tags for topic of each returned post
get_stats_for_topic: Option<bool>
return stats for topic of each returned post
Trait Implementations§
Source§impl Debug for GetCompilationRequest
impl Debug for GetCompilationRequest
Source§impl Default for GetCompilationRequest
impl Default for GetCompilationRequest
Source§fn default() -> GetCompilationRequest
fn default() -> GetCompilationRequest
Returns the “default value” for a type. Read more
Source§impl GetRequest for GetCompilationRequest
impl GetRequest for GetCompilationRequest
Auto Trait Implementations§
impl Freeze for GetCompilationRequest
impl RefUnwindSafe for GetCompilationRequest
impl Send for GetCompilationRequest
impl Sync for GetCompilationRequest
impl Unpin for GetCompilationRequest
impl UnwindSafe for GetCompilationRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more