pub struct Client(/* private fields */);Implementations§
Source§impl Client
impl Client
Sourcepub fn list(
&self,
organization: impl Into<String>,
repository_name_or_id: impl Into<String>,
collection_id: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, repository_name_or_id: impl Into<String>, collection_id: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Retrieve all forks of a repository in the collection.
Arguments:
organization: The name of the Azure DevOps organization.repository_name_or_id: The name or ID of the repository.collection_id: Team project collection ID.project: Project ID or project name
Sourcepub fn get_fork_sync_requests(
&self,
organization: impl Into<String>,
repository_name_or_id: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn get_fork_sync_requests( &self, organization: impl Into<String>, repository_name_or_id: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Retrieve all requested fork sync operations on this repository.
Arguments:
organization: The name of the Azure DevOps organization.repository_name_or_id: The name or ID of the repository.project: Project ID or project name
Sourcepub fn create_fork_sync_request(
&self,
organization: impl Into<String>,
body: impl Into<GitForkSyncRequestParameters>,
repository_name_or_id: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn create_fork_sync_request( &self, organization: impl Into<String>, body: impl Into<GitForkSyncRequestParameters>, repository_name_or_id: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Request that another repository’s refs be fetched into this one. It syncs two existing forks. To create a fork, please see the repositories endpoint
Arguments:
organization: The name of the Azure DevOps organization.body: Source repository and ref mapping.repository_name_or_id: The name or ID of the repository.project: Project ID or project name
Sourcepub fn get_fork_sync_request(
&self,
organization: impl Into<String>,
repository_name_or_id: impl Into<String>,
fork_sync_operation_id: i32,
project: impl Into<String>,
) -> RequestBuilder
pub fn get_fork_sync_request( &self, organization: impl Into<String>, repository_name_or_id: impl Into<String>, fork_sync_operation_id: i32, project: impl Into<String>, ) -> RequestBuilder
Get a specific fork sync operation’s details.
Arguments:
organization: The name of the Azure DevOps organization.repository_name_or_id: The name or ID of the repository.fork_sync_operation_id: OperationId of the sync request.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