pub struct Client(/* private fields */);Implementations§
Source§impl Client
impl Client
Sourcepub fn get_test_sub_result_attachments(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
test_sub_result_id: i32,
) -> RequestBuilder
pub fn get_test_sub_result_attachments( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, test_sub_result_id: i32, ) -> RequestBuilder
Get list of test sub result attachments
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run that contains the result.test_case_result_id: ID of the test results that contains sub result.test_sub_result_id: ID of the test sub result whose attachment has to be downloaded
Sourcepub fn create_test_sub_result_attachment(
&self,
organization: impl Into<String>,
body: impl Into<TestAttachmentRequestModel>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
test_sub_result_id: i32,
) -> RequestBuilder
pub fn create_test_sub_result_attachment( &self, organization: impl Into<String>, body: impl Into<TestAttachmentRequestModel>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, test_sub_result_id: i32, ) -> RequestBuilder
Attach a file to a test result
Arguments:
organization: The name of the Azure DevOps organization.body: Attachment Request Model.project: Project ID or project namerun_id: ID of the test run that contains the result.test_case_result_id: ID of the test results that contains sub result.test_sub_result_id: ID of the test sub results against which attachment has to be uploaded.
Sourcepub fn get_test_sub_result_attachment_zip(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
attachment_id: i32,
test_sub_result_id: i32,
) -> RequestBuilder
pub fn get_test_sub_result_attachment_zip( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, attachment_id: i32, test_sub_result_id: i32, ) -> RequestBuilder
Download a test sub result attachment
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run that contains the result.test_case_result_id: ID of the test results that contains sub result.attachment_id: ID of the test result attachment to be downloadedtest_sub_result_id: ID of the test sub result whose attachment has to be downloaded
Sourcepub fn get_test_run_attachments(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
) -> RequestBuilder
pub fn get_test_run_attachments( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, ) -> RequestBuilder
Get list of test run attachments reference.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run.
Sourcepub fn create_test_run_attachment(
&self,
organization: impl Into<String>,
body: impl Into<TestAttachmentRequestModel>,
project: impl Into<String>,
run_id: i32,
) -> RequestBuilder
pub fn create_test_run_attachment( &self, organization: impl Into<String>, body: impl Into<TestAttachmentRequestModel>, project: impl Into<String>, run_id: i32, ) -> RequestBuilder
Attach a file to a test run.
Arguments:
organization: The name of the Azure DevOps organization.body: Attachment details TestAttachmentRequestModelproject: Project ID or project namerun_id: ID of the test run against which attachment has to be uploaded.
Sourcepub fn get_test_run_attachment_zip(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
attachment_id: i32,
) -> RequestBuilder
pub fn get_test_run_attachment_zip( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, attachment_id: i32, ) -> RequestBuilder
Download a test run attachment by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run whose attachment has to be downloaded.attachment_id: ID of the test run attachment to be downloaded.
Sourcepub fn get_test_result_attachments(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
) -> RequestBuilder
pub fn get_test_result_attachments( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, ) -> RequestBuilder
Get list of test result attachments reference.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run that contains the result.test_case_result_id: ID of the test result.
Sourcepub fn create_test_result_attachment(
&self,
organization: impl Into<String>,
body: impl Into<TestAttachmentRequestModel>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
) -> RequestBuilder
pub fn create_test_result_attachment( &self, organization: impl Into<String>, body: impl Into<TestAttachmentRequestModel>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, ) -> RequestBuilder
Attach a file to a test result.
Arguments:
organization: The name of the Azure DevOps organization.body: Attachment details TestAttachmentRequestModelproject: Project ID or project namerun_id: ID of the test run that contains the result.test_case_result_id: ID of the test result against which attachment has to be uploaded.
Sourcepub fn get_test_result_attachment_zip(
&self,
organization: impl Into<String>,
project: impl Into<String>,
run_id: i32,
test_case_result_id: i32,
attachment_id: i32,
) -> RequestBuilder
pub fn get_test_result_attachment_zip( &self, organization: impl Into<String>, project: impl Into<String>, run_id: i32, test_case_result_id: i32, attachment_id: i32, ) -> RequestBuilder
Download a test result attachment by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerun_id: ID of the test run that contains the testCaseResultId.test_case_result_id: ID of the test result whose attachment has to be downloaded.attachment_id: ID of the test result attachment to be downloaded.
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