pub struct EditCoverBuilder {
cover_id: Option<Uuid>,
volume: Option<String>,
description: Option<Option<String>>,
locale: Option<Option<Language>>,
version: Option<u32>,
/* private fields */
}
Expand description
Builder for EditCover
.
Fields§
§cover_id: Option<Uuid>
Manga or Cover ID.
volume: Option<String>
0-8 characters in length.
description: Option<Option<String>>
0-512 characters in length.
locale: Option<Option<Language>>
§version: Option<u32>
= 1
Implementations§
Source§impl EditCoverBuilder
impl EditCoverBuilder
Sourcepub fn volume<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn volume<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
0-8 characters in length.
Sourcepub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
0-512 characters in length.
pub fn locale<VALUE: Into<Language>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<EditCover, BuilderError>
pub fn build(&self) -> Result<EditCover, 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 EditCoverBuilder
impl Clone for EditCoverBuilder
Source§fn clone(&self) -> EditCoverBuilder
fn clone(&self) -> EditCoverBuilder
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 EditCoverBuilder
impl !RefUnwindSafe for EditCoverBuilder
impl !Send for EditCoverBuilder
impl !Sync for EditCoverBuilder
impl Unpin for EditCoverBuilder
impl !UnwindSafe for EditCoverBuilder
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