pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get(
&self,
organization: impl Into<String>,
group_id: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, group_id: impl Into<String> ) -> RequestBuilder
Get direct members of a Group.
Arguments:
organization
: The name of the Azure DevOps organization.group_id
: Id of the Group.
sourcepub fn add(
&self,
organization: impl Into<String>,
group_id: impl Into<String>,
member_id: impl Into<String>
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, group_id: impl Into<String>, member_id: impl Into<String> ) -> RequestBuilder
Add a member to a Group.
Arguments:
organization
: The name of the Azure DevOps organization.group_id
: Id of the Group.member_id
: Id of the member to add.
sourcepub fn remove_member_from_group(
&self,
organization: impl Into<String>,
group_id: impl Into<String>,
member_id: impl Into<String>
) -> RequestBuilder
pub fn remove_member_from_group( &self, organization: impl Into<String>, group_id: impl Into<String>, member_id: impl Into<String> ) -> RequestBuilder
Remove a member from a Group.
Arguments:
organization
: The name of the Azure DevOps organization.group_id
: Id of the group.member_id
: Id of the member to remove.
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