pub struct Client(_);Implementations
sourceimpl Client
impl Client
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<GitMergeParameters>,
project: impl Into<String>,
repository_name_or_id: impl Into<String>
) -> RequestBuilder
pub fn create(
&self,
organization: impl Into<String>,
body: impl Into<GitMergeParameters>,
project: impl Into<String>,
repository_name_or_id: impl Into<String>
) -> RequestBuilder
Request a git merge operation. Currently we support merging only 2 commits.
Arguments:
organization: The name of the Azure DevOps organization.body: Parents commitIds and merge commit messsage.project: Project ID or project namerepository_name_or_id: The name or ID of the repository.
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
repository_name_or_id: impl Into<String>,
merge_operation_id: i32
) -> RequestBuilder
pub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
repository_name_or_id: impl Into<String>,
merge_operation_id: i32
) -> RequestBuilder
Get a specific merge operation’s details.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namerepository_name_or_id: The name or ID of the repository.merge_operation_id: OperationId of the merge request.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more