Struct azure_devops_rust_api::git::pull_request_properties::Client
source · pub struct Client(/* private fields */);Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
pull_request_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, repository_id: impl Into<String>, pull_request_id: i32, project: impl Into<String> ) -> RequestBuilder
Get external properties of the pull request.
Arguments:
organization: The name of the Azure DevOps organization.repository_id: The repository ID of the pull request’s target branch.pull_request_id: ID of the pull request.project: Project ID or project name
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<JsonPatchDocument>,
repository_id: impl Into<String>,
pull_request_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<JsonPatchDocument>, repository_id: impl Into<String>, pull_request_id: i32, project: impl Into<String> ) -> RequestBuilder
Create or update pull request external properties. The patch operation can be add, replace or remove. For add operation, the path can be empty. If the path is empty, the value must be a list of key value pairs. For replace operation, the path cannot be empty. If the path does not exist, the property will be added to the collection. For remove operation, the path cannot be empty. If the path does not exist, no action will be performed.
Arguments:
organization: The name of the Azure DevOps organization.body: Properties to add, replace or remove in JSON Patch format.repository_id: The repository ID of the pull request’s target branch.pull_request_id: ID of the pull 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