[][src]Struct dropbox_sdk::files::UploadSessionStartArg

pub struct UploadSessionStartArg {
    pub close: bool,
    pub session_type: Option<UploadSessionType>,
}
This is supported on crate feature dbx_files only.

Fields

close: bool

If true, the current session will be closed, at which point you won't be able to call upload_session_append_v2() anymore with the current session.

session_type: Option<UploadSessionType>

Type of upload session you want to start. If not specified, default is UploadSessionType::Sequential.

Implementations

impl UploadSessionStartArg[src]

pub fn with_close(self, value: bool) -> Self[src]

pub fn with_session_type(self, value: UploadSessionType) -> Self[src]

Trait Implementations

impl Debug for UploadSessionStartArg[src]

impl Default for UploadSessionStartArg[src]

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

impl Serialize for UploadSessionStartArg[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.