Struct azure_devops_rust_api::git::pull_request_query::Client   
source · pub struct Client(/* private fields */);Implementations§
source§impl Client
 
impl Client
sourcepub fn get(
    &self,
    organization: impl Into<String>,
    body: impl Into<GitPullRequestQuery>,
    repository_id: impl Into<String>,
    project: impl Into<String>
) -> RequestBuilder
 
pub fn get( &self, organization: impl Into<String>, body: impl Into<GitPullRequestQuery>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.
Arguments:
- organization: The name of the Azure DevOps organization.
- body: The list of queries to perform.
- repository_id: ID of the repository.
- project: Project ID or project name
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