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
Gets a list of builds.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn queue(
&self,
organization: impl Into<String>,
body: impl Into<Build>,
project: impl Into<String>,
) -> RequestBuilder
pub fn queue( &self, organization: impl Into<String>, body: impl Into<Build>, project: impl Into<String>, ) -> RequestBuilder
Queues a build
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn update_builds(
&self,
organization: impl Into<String>,
body: Vec<Build>,
project: impl Into<String>,
) -> RequestBuilder
pub fn update_builds( &self, organization: impl Into<String>, body: Vec<Build>, project: impl Into<String>, ) -> RequestBuilder
Updates multiple builds.
Arguments:
organization: The name of the Azure DevOps organization.body: The builds to update.project: Project ID or project name
Sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets a build
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn update_build(
&self,
organization: impl Into<String>,
body: impl Into<Build>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn update_build( &self, organization: impl Into<String>, body: impl Into<Build>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Updates a build.
Arguments:
organization: The name of the Azure DevOps organization.body: The build.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Deletes a build.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn get_build_changes(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get_build_changes( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets the changes associated with a build
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn get_retention_leases_for_build(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get_retention_leases_for_build( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets all retention leases that apply to a specific build.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn get_build_logs(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get_build_logs( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets the logs for a build.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn get_build_log(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
log_id: i32,
) -> RequestBuilder
pub fn get_build_log( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, log_id: i32, ) -> RequestBuilder
Gets an individual log file for a build.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namebuild_id: The ID of the build.log_id: The ID of the log file.
Sourcepub fn get_build_work_items_refs(
&self,
organization: impl Into<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get_build_work_items_refs( &self, organization: impl Into<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets the work items associated with a build. Only work items in the same project are returned.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn get_build_work_items_refs_from_commits(
&self,
organization: impl Into<String>,
body: Vec<String>,
project: impl Into<String>,
build_id: i32,
) -> RequestBuilder
pub fn get_build_work_items_refs_from_commits( &self, organization: impl Into<String>, body: Vec<String>, project: impl Into<String>, build_id: i32, ) -> RequestBuilder
Gets the work items associated with a build, filtered to specific commits.
Arguments:
organization: The name of the Azure DevOps organization.body: A comma-delimited list of commit IDs.project: Project ID or project namebuild_id: The ID of the build.
Sourcepub fn get_changes_between_builds(
&self,
organization: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn get_changes_between_builds( &self, organization: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Gets the changes made to the repository between two given builds.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn get_work_items_between_builds(
&self,
organization: impl Into<String>,
project: impl Into<String>,
from_build_id: i32,
to_build_id: i32,
) -> RequestBuilder
pub fn get_work_items_between_builds( &self, organization: impl Into<String>, project: impl Into<String>, from_build_id: i32, to_build_id: i32, ) -> RequestBuilder
Gets all the work items between two builds.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namefrom_build_id: The ID of the first build.to_build_id: The ID of the last build.
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