Struct dropbox_sdk::files::SaveUrlArg
source · #[non_exhaustive]pub struct SaveUrlArg {
pub path: Path,
pub url: String,
}
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: Path
The path in Dropbox where the URL will be saved to.
url: String
The URL to be saved.
Implementations§
Trait Implementations§
source§impl Clone for SaveUrlArg
impl Clone for SaveUrlArg
source§fn clone(&self) -> SaveUrlArg
fn clone(&self) -> SaveUrlArg
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 SaveUrlArg
impl Debug for SaveUrlArg
source§impl<'de> Deserialize<'de> for SaveUrlArg
impl<'de> Deserialize<'de> for SaveUrlArg
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<SaveUrlArg> for SaveUrlArg
impl PartialEq<SaveUrlArg> for SaveUrlArg
source§fn eq(&self, other: &SaveUrlArg) -> bool
fn eq(&self, other: &SaveUrlArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SaveUrlArg
impl Serialize for SaveUrlArg
impl Eq for SaveUrlArg
impl StructuralEq for SaveUrlArg
impl StructuralPartialEq for SaveUrlArg
Auto Trait Implementations§
impl RefUnwindSafe for SaveUrlArg
impl Send for SaveUrlArg
impl Sync for SaveUrlArg
impl Unpin for SaveUrlArg
impl UnwindSafe for SaveUrlArg
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