pub struct DBXClient { /* private fields */ }Implementations§
Source§impl DBXClient
impl DBXClient
pub fn new(token: &str) -> Self
pub fn check_user(&self, ping_str: &str) -> DropboxResult<()>
Sourcepub fn upload(
&self,
file: Vec<u8>,
path: &str,
option: UploadOption,
) -> DropboxResult<()>
pub fn upload( &self, file: Vec<u8>, path: &str, option: UploadOption, ) -> DropboxResult<()>
binding /upload
pub fn move_file( &self, from_path: &str, to_path: &str, option: MoveCopyOption, ) -> DropboxResult<()>
pub fn copy( &self, from_path: &str, to_path: &str, option: MoveCopyOption, ) -> DropboxResult<()>
Auto Trait Implementations§
impl !RefUnwindSafe for DBXClient
impl !UnwindSafe for DBXClient
impl Freeze for DBXClient
impl Send for DBXClient
impl Sync for DBXClient
impl Unpin for DBXClient
impl UnsafeUnpin for DBXClient
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