pub struct PetScan { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Tool for PetScan
impl Tool for PetScan
Source§fn run_blocking(&mut self) -> Result<(), ToolsError>
fn run_blocking(&mut self) -> Result<(), ToolsError>
Perform a blocking PetScan query.
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,
Get the PetScan query asynchronously.
fn from_json(&mut self, json: Value) -> Result<(), ToolsError>
fn generate_payload(&self) -> Value
fn generate_paramters(&self) -> Result<Vec<(String, String)>, ToolsError>
impl StructuralPartialEq for PetScan
Auto Trait Implementations§
impl Freeze for PetScan
impl RefUnwindSafe for PetScan
impl Send for PetScan
impl Sync for PetScan
impl Unpin for PetScan
impl UnwindSafe for PetScan
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