pub struct Repository { /* private fields */ }
Implementations§
Source§impl Repository
impl Repository
Sourcepub fn delete(&self) -> Future<()>
pub fn delete(&self) -> Future<()>
DELETE https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}?api-version=5.1
Sourcepub fn pulls(&self) -> PullRequests
pub fn pulls(&self) -> PullRequests
Get pull requests ref
Sourcepub fn pull(&self, id: u64) -> PullRequest
pub fn pull(&self, id: u64) -> PullRequest
Short hand to get a specific pr directly
Sourcepub fn get(&self) -> Future<RepoResponse>
pub fn get(&self) -> Future<RepoResponse>
GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}?api-version=5.1
Auto Trait Implementations§
impl Freeze for Repository
impl !RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl !UnwindSafe for Repository
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