pub struct GetMangaAggregateBuilder {
manga_id: Option<Uuid>,
translated_language: Option<Vec<Language>>,
groups: Option<Vec<Uuid>>,
/* private fields */
}
Expand description
Builder for GetMangaAggregate
.
Fields§
§manga_id: Option<Uuid>
§translated_language: Option<Vec<Language>>
§groups: Option<Vec<Uuid>>
Implementations§
Source§impl GetMangaAggregateBuilder
impl GetMangaAggregateBuilder
pub fn manga_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn translated_language<VALUE: Into<Vec<Language>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_language<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn groups<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_group<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<GetMangaAggregate, BuilderError>
pub fn build(&self) -> Result<GetMangaAggregate, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl GetMangaAggregateBuilder
impl GetMangaAggregateBuilder
pub async fn send(&self) -> MangaAggregateResponse
Trait Implementations§
Source§impl Clone for GetMangaAggregateBuilder
impl Clone for GetMangaAggregateBuilder
Source§fn clone(&self) -> GetMangaAggregateBuilder
fn clone(&self) -> GetMangaAggregateBuilder
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 GetMangaAggregateBuilder
impl !RefUnwindSafe for GetMangaAggregateBuilder
impl !Send for GetMangaAggregateBuilder
impl !Sync for GetMangaAggregateBuilder
impl Unpin for GetMangaAggregateBuilder
impl !UnwindSafe for GetMangaAggregateBuilder
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