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