Struct azure_devops_rust_api::test_plan::test_plans::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>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of test plans
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<TestPlanCreateParams>,
project: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<TestPlanCreateParams>, project: impl Into<String> ) -> RequestBuilder
Create a test plan.
Arguments:
organization
: The name of the Azure DevOps organization.body
: A testPlanCreateParams object.TestPlanCreateParamsproject
: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
plan_id: i32
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, plan_id: i32 ) -> RequestBuilder
Get a test plan by Id.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project nameplan_id
: ID of the test plan to get.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<TestPlanUpdateParams>,
project: impl Into<String>,
plan_id: i32
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<TestPlanUpdateParams>, project: impl Into<String>, plan_id: i32 ) -> RequestBuilder
Update a test plan.
Arguments:
organization
: The name of the Azure DevOps organization.body
: A testPlanUpdateParams object.TestPlanUpdateParamsproject
: Project ID or project nameplan_id
: ID of the test plan to be updated.
Auto Trait Implementations§
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