[][src]Struct onedrive_api::UploadSession

pub struct UploadSession { /* fields omitted */ }

An upload session for resumable file uploading process.

See also

DriveClient::new_upload_session

Microsoft Docs

Methods

impl UploadSession[src]

pub fn get_url(&self) -> &str[src]

Get the url for the upload session.

It can be used to resume the session using DriveClient::get_upload_session.

pub fn get_next_expected_ranges(&self) -> &[ExpectRange][src]

Get next byte ranges the server expected.

Used for determine what to upload when resuming a session.

Trait Implementations

impl Debug for UploadSession[src]

impl<'de> Deserialize<'de> for UploadSession[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T