Struct azure_devops_rust_api::git::commits::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get_commits(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_commits( &self, organization: impl Into<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve git commits for a project
Parameters that use the searchCriteria prefix in their name can be specified without it as query parameters, e.g. searchCriteria.$top -> $top
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The id or friendly name of the repository. To use the friendly name, projectId must also be specified.project
: Project ID or project name
sourcepub fn get_push_commits(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
push_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn get_push_commits( &self, organization: impl Into<String>, repository_id: impl Into<String>, push_id: i32, project: impl Into<String> ) -> RequestBuilder
Retrieve a list of commits associated with a particular push.
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The id or friendly name of the repository. To use the friendly name, projectId must also be specified.push_id
: The id of the push.project
: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
commit_id: impl Into<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, commit_id: impl Into<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve a particular commit.
Arguments:
organization
: The name of the Azure DevOps organization.commit_id
: The id of the commit.repository_id
: The id or friendly name of the repository. To use the friendly name, projectId must also be specified.project
: Project ID or project name
sourcepub fn get_changes(
&self,
organization: impl Into<String>,
commit_id: impl Into<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_changes( &self, organization: impl Into<String>, commit_id: impl Into<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve changes for a particular commit.
Arguments:
organization
: The name of the Azure DevOps organization.commit_id
: The id of the commit.repository_id
: The id or friendly name of the repository. To use the friendly name, projectId must also be specified.project
: Project ID or project name
sourcepub fn get_commits_batch(
&self,
organization: impl Into<String>,
body: impl Into<GitQueryCommitsCriteria>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_commits_batch( &self, organization: impl Into<String>, body: impl Into<GitQueryCommitsCriteria>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve git commits for a project matching the search criteria
Arguments:
organization
: The name of the Azure DevOps organization.body
: Search optionsrepository_id
: The name or ID of the repository.project
: Project ID or project name
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