pub struct SyncClient { /* private fields */ }
Implementations§
Source§impl SyncClient
impl SyncClient
pub async fn new(email: &str, password: &str) -> Self
pub async fn get_collection(&self, collection: &str) -> Vec<String>
pub async fn get_logins(&self) -> Vec<Login>
pub async fn put_logins(&self, logins: &[Login])
pub async fn delete_objects(self, ids: &[&str])
pub async fn delete_ids(&self, collection: &str, ids: &[&str])
Auto Trait Implementations§
impl Freeze for SyncClient
impl !RefUnwindSafe for SyncClient
impl Send for SyncClient
impl Sync for SyncClient
impl Unpin for SyncClient
impl !UnwindSafe for SyncClient
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