[−][src]Struct dropbox_sdk::files::RelocationArg
This is supported on crate feature
dbx_files only.Fields
from_path: WritePathOrIdPath in the user's Dropbox to be copied or moved.
to_path: WritePathOrIdPath in the user's Dropbox that is the destination.
This flag has no effect.
autorename: boolIf there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict.
allow_ownership_transfer: boolAllow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Implementations
impl RelocationArg[src]
pub fn new(from_path: WritePathOrId, to_path: WritePathOrId) -> Self[src]
pub fn with_allow_shared_folder(self, value: bool) -> Self[src]
pub fn with_autorename(self, value: bool) -> Self[src]
pub fn with_allow_ownership_transfer(self, value: bool) -> Self[src]
Trait Implementations
impl Debug for RelocationArg[src]
impl<'de> Deserialize<'de> for RelocationArg[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
impl Serialize for RelocationArg[src]
Auto Trait Implementations
impl RefUnwindSafe for RelocationArg
impl Send for RelocationArg
impl Sync for RelocationArg
impl Unpin for RelocationArg
impl UnwindSafe for RelocationArg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
pub 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>,