Struct azure_devops_rust_api::test::results::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32 ) -> RequestBuilder
Get test results for a test run.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerun_id
: Test run ID of test results to fetch.
sourcepub fn add(
&self,
organization: impl Into<String>,
body: Vec<TestCaseResult>,
project: impl Into<String>,
run_id: i32
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, body: Vec<TestCaseResult>, project: impl Into<String>, run_id: i32 ) -> RequestBuilder
Add test results to a test run.
Arguments:
organization
: The name of the Azure DevOps organization.body
: List of test results to add.project
: Project ID or project namerun_id
: Test run ID into which test results to add.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: Vec<TestCaseResult>,
project: impl Into<String>,
run_id: i32
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: Vec<TestCaseResult>, project: impl Into<String>, run_id: i32 ) -> RequestBuilder
Update test results in a test run.
Arguments:
organization
: The name of the Azure DevOps organization.body
: List of test results to update.project
: Project ID or project namerun_id
: Test run ID whose test results to update.
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, test_case_result_id: i32 ) -> RequestBuilder
Get a test result for a test run.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerun_id
: Test run ID of a test result to fetch.test_case_result_id
: Test result ID.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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