pub struct GetChapterBuilder {
chapter_id: Option<Uuid>,
includes: Option<Vec<ReferenceExpansionResource>>,
/* private fields */
}
Expand description
Builder for GetChapter
.
Fields§
§chapter_id: Option<Uuid>
§includes: Option<Vec<ReferenceExpansionResource>>
Implementations§
Source§impl GetChapterBuilder
impl GetChapterBuilder
pub fn chapter_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<GetChapter, BuilderError>
pub fn build(&self) -> Result<GetChapter, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl GetChapterBuilder
impl GetChapterBuilder
pub async fn send(&self) -> ChapterResponse
Trait Implementations§
Source§impl Clone for GetChapterBuilder
impl Clone for GetChapterBuilder
Source§fn clone(&self) -> GetChapterBuilder
fn clone(&self) -> GetChapterBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GetChapterBuilder
impl !RefUnwindSafe for GetChapterBuilder
impl !Send for GetChapterBuilder
impl !Sync for GetChapterBuilder
impl Unpin for GetChapterBuilder
impl !UnwindSafe for GetChapterBuilder
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