Struct azure_devops_rust_api::tfvc::changesets::Client
source · pub struct Client(/* private fields */);Implementations§
source§impl Client
impl Client
sourcepub fn get_changeset_changes(
&self,
organization: impl Into<String>,
id: i32
) -> RequestBuilder
pub fn get_changeset_changes( &self, organization: impl Into<String>, id: i32 ) -> RequestBuilder
Retrieve Tfvc changes for a given changeset.
Arguments:
organization: The name of the Azure DevOps organization.id: ID of the changeset. Default: null
sourcepub fn get_changeset_work_items(
&self,
organization: impl Into<String>,
id: i32
) -> RequestBuilder
pub fn get_changeset_work_items( &self, organization: impl Into<String>, id: i32 ) -> RequestBuilder
Retrieves the work items associated with a particular changeset.
Arguments:
organization: The name of the Azure DevOps organization.id: ID of the changeset.
sourcepub fn get_batched_changesets(
&self,
organization: impl Into<String>,
body: impl Into<TfvcChangesetsRequestData>
) -> RequestBuilder
pub fn get_batched_changesets( &self, organization: impl Into<String>, body: impl Into<TfvcChangesetsRequestData> ) -> RequestBuilder
Returns changesets for a given list of changeset Ids.
Arguments:
organization: The name of the Azure DevOps organization.body: List of changeset IDs.
sourcepub fn get_changesets(
&self,
organization: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_changesets( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve Tfvc Changesets
Note: This is a new version of the GetChangesets API that doesn’t expose the unneeded queryParams present in the 1.0 version of the API.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<TfvcChangeset>,
project: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<TfvcChangeset>, project: impl Into<String> ) -> RequestBuilder
Create a new changeset.
Accepts TfvcChangeset as JSON body
Arguments:
organization: The name of the Azure DevOps organization.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