pub struct RunsClient { /* private fields */ }Implementations§
Source§impl RunsClient
impl RunsClient
pub async fn schema_v0(&self) -> Result<Value, Error>
pub async fn create( &self, spec: WorkflowSpecV0, ) -> Result<RunsCreateResponse, Error>
pub async fn get(&self, run_id: RunId) -> Result<RunsGetResponse, Error>
pub async fn pending_tools( &self, run_id: RunId, ) -> Result<RunsPendingToolsResponse, Error>
pub async fn stream_events( &self, run_id: RunId, after_seq: Option<i64>, limit: Option<i64>, ) -> Result<RunEventStreamHandle, Error>
Available on crate feature
streaming only.Trait Implementations§
Source§impl Clone for RunsClient
impl Clone for RunsClient
Source§fn clone(&self) -> RunsClient
fn clone(&self) -> RunsClient
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunsClient
impl !RefUnwindSafe for RunsClient
impl Send for RunsClient
impl Sync for RunsClient
impl Unpin for RunsClient
impl !UnwindSafe for RunsClient
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)