pub struct SourcePageQuery {
pub after_slug: Option<String>,
pub limit: i64,
pub created_after: Option<OffsetDateTime>,
pub created_before: Option<OffsetDateTime>,
pub kind: Option<String>,
pub include_retired: bool,
}Expand description
Filterable, keyset-paginated source listing. Page key is slug (unique,
matches the existing ORDER BY). Returns one page plus the total row count
for the same filter set (ignoring the cursor).
Fields§
§after_slug: Option<String>Resume after this slug (exclusive). None = first page.
limit: i64Page size (validated by the route: 1..=100).
created_after: Option<OffsetDateTime>Only sources created strictly after this instant.
created_before: Option<OffsetDateTime>Only sources created strictly before this instant.
kind: Option<String>Only sources of this kind (wire string, e.g. “docs_site”).
include_retired: boolInclude retired sources (default false = active only).
Trait Implementations§
Source§impl Debug for SourcePageQuery
impl Debug for SourcePageQuery
Source§impl Default for SourcePageQuery
impl Default for SourcePageQuery
Source§fn default() -> SourcePageQuery
fn default() -> SourcePageQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourcePageQuery
impl RefUnwindSafe for SourcePageQuery
impl Send for SourcePageQuery
impl Sync for SourcePageQuery
impl Unpin for SourcePageQuery
impl UnsafeUnpin for SourcePageQuery
impl UnwindSafe for SourcePageQuery
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more