pub struct GroupsClient { /* private fields */ }Implementations§
Source§impl GroupsClient
impl GroupsClient
pub async fn create_group( &self, req_group: ReqGroup, ) -> Result<RespResourceUrl, Error<CreateGroupError>>
pub async fn delete_group( &self, group_id: &str, ) -> Result<RespString, Error<DeleteGroupError>>
pub async fn get_group( &self, group_id: &str, ) -> Result<RespGroupDetail, Error<GetGroupError>>
pub async fn list_groups(&self) -> Result<RespGroupList, Error<ListGroupsError>>
Trait Implementations§
Source§impl Clone for GroupsClient
impl Clone for GroupsClient
Source§fn clone(&self) -> GroupsClient
fn clone(&self) -> GroupsClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GroupsClient
impl !RefUnwindSafe for GroupsClient
impl Send for GroupsClient
impl Sync for GroupsClient
impl Unpin for GroupsClient
impl !UnwindSafe for GroupsClient
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