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 deployment groups by name or IDs.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn add(
&self,
organization: impl Into<String>,
body: impl Into<DeploymentGroupCreateParameter>,
project: impl Into<String>,
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, body: impl Into<DeploymentGroupCreateParameter>, project: impl Into<String>, ) -> RequestBuilder
Create a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.body: Deployment group to create.project: Project ID or project name
Sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
deployment_group_id: i32,
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, deployment_group_id: i32, ) -> RequestBuilder
Get a deployment group by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namedeployment_group_id: ID of the deployment group.
Sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<DeploymentGroupUpdateParameter>,
project: impl Into<String>,
deployment_group_id: i32,
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<DeploymentGroupUpdateParameter>, project: impl Into<String>, deployment_group_id: i32, ) -> RequestBuilder
Update a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.body: Deployment group to update.project: Project ID or project namedeployment_group_id: ID of the deployment group.
Sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
deployment_group_id: i32,
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, deployment_group_id: i32, ) -> RequestBuilder
Delete a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namedeployment_group_id: ID of the deployment group to be deleted.
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