pub struct ListMangaDraftsBuilder {
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
user: Option<Option<Uuid>>,
state: Option<Option<MangaState>>,
order: Option<Option<MangaDraftsSortOrder>>,
includes: Option<Vec<ReferenceExpansionResource>>,
/* private fields */
}
Expand description
Builder for ListMangaDrafts
.
Fields§
§limit: Option<Option<u32>>
Minimum: 1
Maximum: 100
Default: 10 (if not specified)
offset: Option<Option<u32>>
= 0
user: Option<Option<Uuid>>
§state: Option<Option<MangaState>>
§order: Option<Option<MangaDraftsSortOrder>>
§includes: Option<Vec<ReferenceExpansionResource>>
Implementations§
Source§impl ListMangaDraftsBuilder
impl ListMangaDraftsBuilder
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Minimum: 1
Maximum: 100
Default: 10 (if not specified)
pub fn user<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn state<VALUE: Into<MangaState>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<MangaDraftsSortOrder>>( &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<ListMangaDrafts, BuilderError>
pub fn build(&self) -> Result<ListMangaDrafts, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl ListMangaDraftsBuilder
impl ListMangaDraftsBuilder
pub async fn send(&self) -> MangaListResponse
Trait Implementations§
Source§impl Clone for ListMangaDraftsBuilder
impl Clone for ListMangaDraftsBuilder
Source§fn clone(&self) -> ListMangaDraftsBuilder
fn clone(&self) -> ListMangaDraftsBuilder
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 ListMangaDraftsBuilder
impl !RefUnwindSafe for ListMangaDraftsBuilder
impl !Send for ListMangaDraftsBuilder
impl !Sync for ListMangaDraftsBuilder
impl Unpin for ListMangaDraftsBuilder
impl !UnwindSafe for ListMangaDraftsBuilder
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