#[non_exhaustive]pub struct PaginationConfigurationBuilder { /* private fields */ }Expand description
A builder for PaginationConfiguration.
Implementations§
Source§impl PaginationConfigurationBuilder
impl PaginationConfigurationBuilder
Sourcepub fn cursor_configuration(self, input: CursorConfiguration) -> Self
pub fn cursor_configuration(self, input: CursorConfiguration) -> Self
Configuration for cursor-based pagination, where the API provides a cursor or token to retrieve the next page of results.
Sourcepub fn set_cursor_configuration(
self,
input: Option<CursorConfiguration>,
) -> Self
pub fn set_cursor_configuration( self, input: Option<CursorConfiguration>, ) -> Self
Configuration for cursor-based pagination, where the API provides a cursor or token to retrieve the next page of results.
Sourcepub fn get_cursor_configuration(&self) -> &Option<CursorConfiguration>
pub fn get_cursor_configuration(&self) -> &Option<CursorConfiguration>
Configuration for cursor-based pagination, where the API provides a cursor or token to retrieve the next page of results.
Sourcepub fn offset_configuration(self, input: OffsetConfiguration) -> Self
pub fn offset_configuration(self, input: OffsetConfiguration) -> Self
Configuration for offset-based pagination, where the API uses numeric offsets and limits to control which results are returned.
Sourcepub fn set_offset_configuration(
self,
input: Option<OffsetConfiguration>,
) -> Self
pub fn set_offset_configuration( self, input: Option<OffsetConfiguration>, ) -> Self
Configuration for offset-based pagination, where the API uses numeric offsets and limits to control which results are returned.
Sourcepub fn get_offset_configuration(&self) -> &Option<OffsetConfiguration>
pub fn get_offset_configuration(&self) -> &Option<OffsetConfiguration>
Configuration for offset-based pagination, where the API uses numeric offsets and limits to control which results are returned.
Sourcepub fn build(self) -> PaginationConfiguration
pub fn build(self) -> PaginationConfiguration
Consumes the builder and constructs a PaginationConfiguration.
Trait Implementations§
Source§impl Clone for PaginationConfigurationBuilder
impl Clone for PaginationConfigurationBuilder
Source§fn clone(&self) -> PaginationConfigurationBuilder
fn clone(&self) -> PaginationConfigurationBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PaginationConfigurationBuilder
impl Default for PaginationConfigurationBuilder
Source§fn default() -> PaginationConfigurationBuilder
fn default() -> PaginationConfigurationBuilder
Source§impl PartialEq for PaginationConfigurationBuilder
impl PartialEq for PaginationConfigurationBuilder
Source§fn eq(&self, other: &PaginationConfigurationBuilder) -> bool
fn eq(&self, other: &PaginationConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaginationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for PaginationConfigurationBuilder
impl RefUnwindSafe for PaginationConfigurationBuilder
impl Send for PaginationConfigurationBuilder
impl Sync for PaginationConfigurationBuilder
impl Unpin for PaginationConfigurationBuilder
impl UnsafeUnpin for PaginationConfigurationBuilder
impl UnwindSafe for PaginationConfigurationBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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