pub struct ListCoverBuilder {
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
manga_ids: Option<Vec<Uuid>>,
cover_ids: Option<Vec<Uuid>>,
uploader_ids: Option<Vec<Uuid>>,
locales: Option<Vec<Language>>,
order: Option<Option<CoverSortOrder>>,
includes: Option<Vec<ReferenceExpansionResource>>,
/* private fields */
}
Expand description
Builder for ListCover
.
Fields§
§limit: Option<Option<u32>>
§offset: Option<Option<u32>>
§manga_ids: Option<Vec<Uuid>>
§cover_ids: Option<Vec<Uuid>>
§uploader_ids: Option<Vec<Uuid>>
§locales: Option<Vec<Language>>
§order: Option<Option<CoverSortOrder>>
§includes: Option<Vec<ReferenceExpansionResource>>
Implementations§
Source§impl ListCoverBuilder
impl ListCoverBuilder
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn manga_ids<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_manga_id<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn cover_ids<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_cover_id<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn uploader_ids<VALUE: Into<Vec<Uuid>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_uploader_id<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn locales<VALUE: Into<Vec<Language>>>(&mut self, value: VALUE) -> &mut Self
pub fn locale<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn order<VALUE: Into<CoverSortOrder>>(&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<ListCover, BuilderError>
pub fn build(&self) -> Result<ListCover, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl ListCoverBuilder
impl ListCoverBuilder
pub async fn send(&self) -> CoverListResponse
Trait Implementations§
Source§impl Clone for ListCoverBuilder
impl Clone for ListCoverBuilder
Source§fn clone(&self) -> ListCoverBuilder
fn clone(&self) -> ListCoverBuilder
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 ListCoverBuilder
impl !RefUnwindSafe for ListCoverBuilder
impl !Send for ListCoverBuilder
impl !Sync for ListCoverBuilder
impl Unpin for ListCoverBuilder
impl !UnwindSafe for ListCoverBuilder
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