pub struct BdbGroupsHandler { /* private fields */ }
Expand description
Handler for database group operations
Implementations§
Source§impl BdbGroupsHandler
impl BdbGroupsHandler
pub fn new(client: RestClient) -> Self
pub async fn list(&self) -> Result<Vec<BdbGroup>>
pub async fn get(&self, uid: u32) -> Result<BdbGroup>
pub async fn create(&self, body: CreateBdbGroupRequest) -> Result<BdbGroup>
pub async fn update( &self, uid: u32, body: UpdateBdbGroupRequest, ) -> Result<BdbGroup>
pub async fn delete(&self, uid: u32) -> Result<()>
Auto Trait Implementations§
impl Freeze for BdbGroupsHandler
impl !RefUnwindSafe for BdbGroupsHandler
impl Send for BdbGroupsHandler
impl Sync for BdbGroupsHandler
impl Unpin for BdbGroupsHandler
impl !UnwindSafe for BdbGroupsHandler
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