pub struct ClientsClient { /* private fields */ }Implementations§
Source§impl ClientsClient
impl ClientsClient
pub async fn create_client( &self, new_client: NewClient, ) -> Result<CreateClient201Response, Error<CreateClientError>>
pub async fn delete_client( &self, client_id: &str, ) -> Result<DeleteClient200Response, Error<DeleteClientError>>
pub async fn get_client( &self, client_id: &str, ) -> Result<CreateClient201Response, Error<GetClientError>>
pub async fn list_clients( &self, limit: Option<i32>, offset: Option<i32>, ) -> Result<ListClients200Response, Error<ListClientsError>>
pub async fn update_client( &self, client_id: &str, update_client: UpdateClient, ) -> Result<CreateClient201Response, Error<UpdateClientError>>
Trait Implementations§
Source§impl Clone for ClientsClient
impl Clone for ClientsClient
Source§fn clone(&self) -> ClientsClient
fn clone(&self) -> ClientsClient
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 ClientsClient
impl !RefUnwindSafe for ClientsClient
impl Send for ClientsClient
impl Sync for ClientsClient
impl Unpin for ClientsClient
impl UnsafeUnpin for ClientsClient
impl !UnwindSafe for ClientsClient
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