Struct mangadex_api::v5::upload::get::GetUploadSession
source · pub struct GetUploadSession { /* private fields */ }
Implementations§
source§impl GetUploadSession
impl GetUploadSession
sourcepub async fn send(&self) -> Result<Limited<UploadSessionData>>
pub async fn send(&self) -> Result<Limited<UploadSessionData>>
Send the request.
Trait Implementations§
source§impl Clone for GetUploadSession
impl Clone for GetUploadSession
source§fn clone(&self) -> GetUploadSession
fn clone(&self) -> GetUploadSession
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 GetUploadSession
impl Debug for GetUploadSession
source§impl Endpoint for GetUploadSession
impl Endpoint for GetUploadSession
§type Response = ApiData<ApiObject<UploadSessionAttributes>>
type Response = ApiData<ApiObject<UploadSessionAttributes>>
The response type.
source§fn require_auth(&self) -> bool
fn require_auth(&self) -> bool
Get whether auth is required for this request.
type Query = ()
type Body = ()
fn query(&self) -> Option<&Self::Query>
fn body(&self) -> Option<&Self::Body>
fn multipart(&self) -> Option<Form>
Auto Trait Implementations§
impl Freeze for GetUploadSession
impl !RefUnwindSafe for GetUploadSession
impl !Send for GetUploadSession
impl !Sync for GetUploadSession
impl Unpin for GetUploadSession
impl !UnwindSafe for GetUploadSession
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