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 variables.
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<TestVariableCreateUpdateParameters>,
project: impl Into<String>,
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<TestVariableCreateUpdateParameters>, project: impl Into<String>, ) -> RequestBuilder
Create a test variable.
Arguments:
organization: The name of the Azure DevOps organization.body: TestVariableCreateUpdateParametersproject: Project ID or project name
Sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
test_variable_id: i32,
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, test_variable_id: i32, ) -> RequestBuilder
Get a test variable by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project nametest_variable_id: ID of the test variable to get.
Sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<TestVariableCreateUpdateParameters>,
project: impl Into<String>,
test_variable_id: i32,
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<TestVariableCreateUpdateParameters>, project: impl Into<String>, test_variable_id: i32, ) -> RequestBuilder
Update a test variable by its ID.
Arguments:
organization: The name of the Azure DevOps organization.body: TestVariableCreateUpdateParametersproject: Project ID or project nametest_variable_id: ID of the test variable to update.
Sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
test_variable_id: i32,
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, test_variable_id: i32, ) -> RequestBuilder
Delete a test variable by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project nametest_variable_id: ID of the test variable to delete.
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