pub struct PullRequests { /* private fields */ }
Implementations§
Source§impl PullRequests
impl PullRequests
Sourcepub fn create(&self, options: &PROption) -> Future<PullRequestCreateResponse>
pub fn create(&self, options: &PROption) -> Future<PullRequestCreateResponse>
POST https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/pullrequests?api-version=5.1
Sourcepub fn pull(&self, id: u64) -> PullRequest
pub fn pull(&self, id: u64) -> PullRequest
GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}?api-version=5.1
Sourcepub fn list(&self, options: PullListOptions) -> Future<PullRequestsResponse>
pub fn list(&self, options: PullListOptions) -> Future<PullRequestsResponse>
list pull requests
Auto Trait Implementations§
impl Freeze for PullRequests
impl !RefUnwindSafe for PullRequests
impl Send for PullRequests
impl Sync for PullRequests
impl Unpin for PullRequests
impl !UnwindSafe for PullRequests
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