[−][src]Struct dropbox_sdk::files::RelocationBatchArg
Fields
entries: Vec<RelocationPath>
List of entries to be moved or copied. Each entry is RelocationPath
.
autorename: bool
If there's a conflict with any file, have the Dropbox server try to autorename that file to avoid the conflict.
If true, copy_batch()
will copy contents in shared folder, otherwise
RelocationError::CantCopySharedFolder
will be
returned if RelocationPath::from_path
contains shared folder. This field
is always true for move_batch()
.
allow_ownership_transfer: bool
Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Methods
impl RelocationBatchArg
[src]
pub fn new(entries: Vec<RelocationPath>) -> Self
[src]
pub fn with_autorename(self, value: bool) -> Self
[src]
pub fn with_allow_shared_folder(self, value: bool) -> Self
[src]
pub fn with_allow_ownership_transfer(self, value: bool) -> Self
[src]
Trait Implementations
impl Debug for RelocationBatchArg
[src]
impl Serialize for RelocationBatchArg
[src]
impl<'de> Deserialize<'de> for RelocationBatchArg
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Unpin for RelocationBatchArg
impl Sync for RelocationBatchArg
impl Send for RelocationBatchArg
impl UnwindSafe for RelocationBatchArg
impl RefUnwindSafe for RelocationBatchArg
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,