Struct azure_devops_rust_api::processes::rules::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, process_id: impl Into<String>, wit_ref_name: impl Into<String> ) -> RequestBuilder
Returns a list of all rules in the work item type of the process.
Arguments:
organization
: The name of the Azure DevOps organization.process_id
: The ID of the processwit_ref_name
: The reference name of the work item type
sourcepub fn add(
&self,
organization: impl Into<String>,
body: impl Into<CreateProcessRuleRequest>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, body: impl Into<CreateProcessRuleRequest>, process_id: impl Into<String>, wit_ref_name: impl Into<String> ) -> RequestBuilder
Adds a rule to work item type in the process.
Arguments:
organization
: The name of the Azure DevOps organization.process_id
: The ID of the processwit_ref_name
: The reference name of the work item type
sourcepub fn get(
&self,
organization: impl Into<String>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
rule_id: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, rule_id: impl Into<String> ) -> RequestBuilder
Returns a single rule in the work item type of the process.
Arguments:
organization
: The name of the Azure DevOps organization.process_id
: The ID of the processwit_ref_name
: The reference name of the work item typerule_id
: The ID of the rule
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<UpdateProcessRuleRequest>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
rule_id: impl Into<String>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<UpdateProcessRuleRequest>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, rule_id: impl Into<String> ) -> RequestBuilder
Updates a rule in the work item type of the process.
Arguments:
organization
: The name of the Azure DevOps organization.process_id
: The ID of the processwit_ref_name
: The reference name of the work item typerule_id
: The ID of the rule
sourcepub fn delete(
&self,
organization: impl Into<String>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
rule_id: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, rule_id: impl Into<String> ) -> RequestBuilder
Removes a rule from the work item type in the process.
Arguments:
organization
: The name of the Azure DevOps organization.process_id
: The ID of the processwit_ref_name
: The reference name of the work item typerule_id
: The ID of the rule
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§
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