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