pub struct ListSeries { /* private fields */ }Expand description
Request builder for listing series
Implementations§
Source§impl ListSeries
impl ListSeries
Sourcepub fn slug(self, slugs: impl IntoIterator<Item = impl ToString>) -> Self
pub fn slug(self, slugs: impl IntoIterator<Item = impl ToString>) -> Self
Filter by slugs
Safe batch size: ≤ 150 per request. URL length is capped at ~8 KB upstream; slug entries vary so pick a cap based on your longest slug.
Sourcepub fn categories_ids(
self,
ids: impl IntoIterator<Item = impl ToString>,
) -> Self
pub fn categories_ids( self, ids: impl IntoIterator<Item = impl ToString>, ) -> Self
Filter by category IDs
Safe batch size: ≤ 100 per request. URLs over ~8 KB are rejected
upstream with 414 URI Too Long.
Sourcepub fn categories_labels(
self,
labels: impl IntoIterator<Item = impl ToString>,
) -> Self
pub fn categories_labels( self, labels: impl IntoIterator<Item = impl ToString>, ) -> Self
Filter by category labels
Safe batch size: ≤ 150 per request. URL length is capped at ~8 KB upstream; label entries vary so pick a cap based on your longest label.
Sourcepub fn include_chat(self, include: bool) -> Self
pub fn include_chat(self, include: bool) -> Self
Include chat data in response
Sourcepub fn recurrence(self, recurrence: impl Into<String>) -> Self
pub fn recurrence(self, recurrence: impl Into<String>) -> Self
Filter by recurrence pattern
Sourcepub fn order(self, order: impl Into<String>) -> Self
pub fn order(self, order: impl Into<String>) -> Self
Comma-separated list of JSON field names to order by.
Sourcepub fn exclude_events(self, exclude: bool) -> Self
pub fn exclude_events(self, exclude: bool) -> Self
Omit the nested events relation from each series.
Sourcepub async fn send(self) -> Result<Vec<SeriesData>, GammaError>
pub async fn send(self) -> Result<Vec<SeriesData>, GammaError>
Execute the request
Auto Trait Implementations§
impl !RefUnwindSafe for ListSeries
impl !UnwindSafe for ListSeries
impl Freeze for ListSeries
impl Send for ListSeries
impl Sync for ListSeries
impl Unpin for ListSeries
impl UnsafeUnpin for ListSeries
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