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