pub struct ApiCollectionRunner { /* private fields */ }Expand description
API collection runner
Implementations§
Source§impl ApiCollectionRunner
impl ApiCollectionRunner
Sourcepub fn load_collection(path: &Path) -> Result<ApiCollection>
pub fn load_collection(path: &Path) -> Result<ApiCollection>
Load an API collection from a file
Sourcepub async fn run_collection(
&self,
collection: &ApiCollection,
environment: &str,
) -> Result<CollectionResult>
pub async fn run_collection( &self, collection: &ApiCollection, environment: &str, ) -> Result<CollectionResult>
Run an API collection
Auto Trait Implementations§
impl Freeze for ApiCollectionRunner
impl !RefUnwindSafe for ApiCollectionRunner
impl Send for ApiCollectionRunner
impl Sync for ApiCollectionRunner
impl Unpin for ApiCollectionRunner
impl !UnwindSafe for ApiCollectionRunner
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