Struct dropbox_sdk::files::RestoreArg
source · #[non_exhaustive]pub struct RestoreArg {
pub path: WritePath,
pub rev: Rev,
}
Available 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.path: WritePath
The path to save the restored file.
rev: Rev
The revision to restore.
Implementations§
Trait Implementations§
source§impl Clone for RestoreArg
impl Clone for RestoreArg
source§fn clone(&self) -> RestoreArg
fn clone(&self) -> RestoreArg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RestoreArg
impl Debug for RestoreArg
source§impl<'de> Deserialize<'de> for RestoreArg
impl<'de> Deserialize<'de> for RestoreArg
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<RestoreArg> for RestoreArg
impl PartialEq<RestoreArg> for RestoreArg
source§fn eq(&self, other: &RestoreArg) -> bool
fn eq(&self, other: &RestoreArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RestoreArg
impl Serialize for RestoreArg
impl Eq for RestoreArg
impl StructuralEq for RestoreArg
impl StructuralPartialEq for RestoreArg
Auto Trait Implementations§
impl RefUnwindSafe for RestoreArg
impl Send for RestoreArg
impl Sync for RestoreArg
impl Unpin for RestoreArg
impl UnwindSafe for RestoreArg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more