pub struct RunsResource { /* private fields */ }Expand description
Lists and inspects runs.
Implementations§
Source§impl RunsResource
impl RunsResource
Sourcepub async fn list(&self, query: &[(&str, &str)]) -> Result<JsonObject>
pub async fn list(&self, query: &[(&str, &str)]) -> Result<JsonObject>
Returns the run list envelope (data + pagination).
Sourcepub async fn stats(&self) -> Result<JsonObject>
pub async fn stats(&self) -> Result<JsonObject>
Returns aggregate run statistics.
Sourcepub async fn get(&self, run_id: &str) -> Result<JsonObject>
pub async fn get(&self, run_id: &str) -> Result<JsonObject>
Returns a single run.
Auto Trait Implementations§
impl !RefUnwindSafe for RunsResource
impl !UnwindSafe for RunsResource
impl Freeze for RunsResource
impl Send for RunsResource
impl Sync for RunsResource
impl Unpin for RunsResource
impl UnsafeUnpin for RunsResource
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