pub struct Duplicity { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Tool for Duplicity
impl Tool for Duplicity
Source§fn run_blocking(&mut self) -> Result<(), ToolsError>
fn run_blocking(&mut self) -> Result<(), ToolsError>
Run the query in a blocking manner.
Source§fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ToolsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ToolsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Run the query asynchronously.
fn generate_paramters(&self) -> Result<Vec<(String, String)>, ToolsError>
fn from_json(&mut self, j: Value) -> Result<(), ToolsError>
fn generate_payload(&self) -> Value
impl StructuralPartialEq for Duplicity
Auto Trait Implementations§
impl Freeze for Duplicity
impl RefUnwindSafe for Duplicity
impl Send for Duplicity
impl Sync for Duplicity
impl Unpin for Duplicity
impl UnwindSafe for Duplicity
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