Struct dropbox_dir::SmartPath
[−]
[src]
pub struct SmartPath { /* fields omitted */ }
Methods
impl SmartPath
[src]
fn new_personal<S>(path: S) -> Result<SmartPath, Error> where
S: Into<String>,
[src]
S: Into<String>,
Creates a new SmartPath
, the path
parameter represent a target inside the Dropbox
directory (personal).
fn new_business<S>(path: S) -> Result<SmartPath, Error> where
S: Into<String>,
[src]
S: Into<String>,
Creates a new SmartPath
, the path
parameter represent a target inside the Dropbox
directory (business).
fn local(&self) -> PathBuf
[src]
Gets the local absolute path of the target.
fn remote(&self) -> PathBuf
[src]
Gets the remote path of the target.