pub struct GetChapterBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> GetChapterBuilder<'a, Empty>
impl<'a> GetChapterBuilder<'a, Empty>
Source§impl<'a, S> GetChapterBuilder<'a, S>
impl<'a, S> GetChapterBuilder<'a, S>
Sourcepub fn chapter(
self,
value: impl Into<AtUri<'a>>,
) -> GetChapterBuilder<'a, SetChapter<S>>
pub fn chapter( self, value: impl Into<AtUri<'a>>, ) -> GetChapterBuilder<'a, SetChapter<S>>
Set the chapter field (required)
Source§impl<'a, S: State> GetChapterBuilder<'a, S>
impl<'a, S: State> GetChapterBuilder<'a, S>
Sourcepub fn entry_cursor(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn entry_cursor(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the entryCursor field (optional)
Sourcepub fn maybe_entry_cursor(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_entry_cursor(self, value: Option<CowStr<'a>>) -> Self
Set the entryCursor field to an Option value (optional)
Source§impl<'a, S: State> GetChapterBuilder<'a, S>
impl<'a, S: State> GetChapterBuilder<'a, S>
Sourcepub fn entry_limit(self, value: impl Into<Option<i64>>) -> Self
pub fn entry_limit(self, value: impl Into<Option<i64>>) -> Self
Set the entryLimit field (optional)
Sourcepub fn maybe_entry_limit(self, value: Option<i64>) -> Self
pub fn maybe_entry_limit(self, value: Option<i64>) -> Self
Set the entryLimit field to an Option value (optional)
Source§impl<'a, S> GetChapterBuilder<'a, S>
impl<'a, S> GetChapterBuilder<'a, S>
Sourcepub fn build(self) -> GetChapter<'a>
pub fn build(self) -> GetChapter<'a>
Build the final struct
Auto Trait Implementations§
impl<'a, S> Freeze for GetChapterBuilder<'a, S>
impl<'a, S> RefUnwindSafe for GetChapterBuilder<'a, S>
impl<'a, S> Send for GetChapterBuilder<'a, S>
impl<'a, S> Sync for GetChapterBuilder<'a, S>
impl<'a, S> Unpin for GetChapterBuilder<'a, S>
impl<'a, S> UnsafeUnpin for GetChapterBuilder<'a, S>
impl<'a, S> UnwindSafe for GetChapterBuilder<'a, S>
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