Struct dropbox_sdk::files::UploadSessionStartArg [−][src]
#[non_exhaustive]pub struct UploadSessionStartArg {
pub close: bool,
pub session_type: Option<UploadSessionType>,
}
This is supported on crate feature
dbx_files
only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UploadSessionStartArg
impl Send for UploadSessionStartArg
impl Sync for UploadSessionStartArg
impl Unpin for UploadSessionStartArg
impl UnwindSafe for UploadSessionStartArg
Blanket Implementations
Mutably borrows from an owned value. Read more