pub struct CommitUploadSession {
pub http_client: HttpClientRef,
pub session_id: Uuid,
chapter_draft: ChapterDraft,
pub page_order: Vec<Uuid>,
}
Fields§
§http_client: HttpClientRef
This should never be set manually as this is only for internal use.
session_id: Uuid
§chapter_draft: ChapterDraft
§page_order: Vec<Uuid>
Ordered list of Upload Session File IDs.
Any uploaded files that are not included in this list will be deleted.
Implementations§
Source§impl CommitUploadSession
impl CommitUploadSession
Sourcepub async fn send(&self) -> Result<Limited<ChapterData>>
pub async fn send(&self) -> Result<Limited<ChapterData>>
Send the request.
Trait Implementations§
Source§impl Clone for CommitUploadSession
impl Clone for CommitUploadSession
Source§fn clone(&self) -> CommitUploadSession
fn clone(&self) -> CommitUploadSession
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 moreSource§impl Debug for CommitUploadSession
impl Debug for CommitUploadSession
Auto Trait Implementations§
impl Freeze for CommitUploadSession
impl !RefUnwindSafe for CommitUploadSession
impl !Send for CommitUploadSession
impl !Sync for CommitUploadSession
impl Unpin for CommitUploadSession
impl !UnwindSafe for CommitUploadSession
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