Struct azure_devops_rust_api::processes::controls::Client
source · pub struct Client(/* private fields */);Implementations§
source§impl Client
impl Client
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<Control>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
group_id: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<Control>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, group_id: impl Into<String> ) -> RequestBuilder
Creates a control in a group.
Arguments:
organization: The name of the Azure DevOps organization.body: The control.process_id: The ID of the process.wit_ref_name: The reference name of the work item type.group_id: The ID of the group to add the control to.
sourcepub fn move_control_to_group(
&self,
organization: impl Into<String>,
body: impl Into<Control>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
group_id: impl Into<String>,
control_id: impl Into<String>
) -> RequestBuilder
pub fn move_control_to_group( &self, organization: impl Into<String>, body: impl Into<Control>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, group_id: impl Into<String>, control_id: impl Into<String> ) -> RequestBuilder
Moves a control to a specified group.
Arguments:
organization: The name of the Azure DevOps organization.body: The control.process_id: The ID of the process.wit_ref_name: The reference name of the work item type.group_id: The ID of the group to move the control to.control_id: The ID of the control.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<Control>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
group_id: impl Into<String>,
control_id: impl Into<String>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<Control>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, group_id: impl Into<String>, control_id: impl Into<String> ) -> RequestBuilder
Updates a control on the work item form.
Arguments:
organization: The name of the Azure DevOps organization.body: The updated control.process_id: The ID of the process.wit_ref_name: The reference name of the work item type.group_id: The ID of the group.control_id: The ID of the control.
sourcepub fn remove_control_from_group(
&self,
organization: impl Into<String>,
process_id: impl Into<String>,
wit_ref_name: impl Into<String>,
group_id: impl Into<String>,
control_id: impl Into<String>
) -> RequestBuilder
pub fn remove_control_from_group( &self, organization: impl Into<String>, process_id: impl Into<String>, wit_ref_name: impl Into<String>, group_id: impl Into<String>, control_id: impl Into<String> ) -> RequestBuilder
Removes a control from the work item form.
Arguments:
organization: The name of the Azure DevOps organization.process_id: The ID of the process.wit_ref_name: The reference name of the work item type.group_id: The ID of the group.control_id: The ID of the control to remove.
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