Struct dropbox_sdk::file_requests::UpdateFileRequestArgs [−][src]
#[non_exhaustive]pub struct UpdateFileRequestArgs { pub id: FileRequestId, pub title: Option<String>, pub destination: Option<Path>, pub deadline: UpdateFileRequestDeadline, pub open: Option<bool>, pub description: Option<String>, }
This is supported on crate feature
dbx_file_requests only.Expand description
Arguments for update().
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.id: FileRequestIdThe ID of the file request to update.
title: Option<String>The new title of the file request. Must not be empty.
destination: Option<Path>The new path of the folder in the Dropbox where uploaded files will be sent. For apps with the app folder permission, this will be relative to the app folder.
deadline: UpdateFileRequestDeadlineThe new deadline for the file request. Deadlines can only be set by Professional and Business accounts.
open: Option<bool>Whether to set this file request as open or closed.
description: Option<String>The description of the file request.
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 UpdateFileRequestArgsimpl Send for UpdateFileRequestArgsimpl Sync for UpdateFileRequestArgsimpl Unpin for UpdateFileRequestArgsimpl UnwindSafe for UpdateFileRequestArgsBlanket Implementations
Mutably borrows from an owned value. Read more