pub struct CountsApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl CountsApiClient
impl CountsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl CountsApi for CountsApiClient
impl CountsApi for CountsApiClient
Source§fn get_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationCountsResponseModel, Error<GetByOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationCountsResponseModel, Error<GetByOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/sm-counts
Source§fn get_by_project<'a, 'life0, 'async_trait>(
&'life0 self,
project_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectCountsResponseModel, Error<GetByProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_project<'a, 'life0, 'async_trait>(
&'life0 self,
project_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectCountsResponseModel, Error<GetByProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /projects/{projectId}/sm-counts
Source§fn get_by_service_account<'a, 'life0, 'async_trait>(
&'life0 self,
service_account_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountCountsResponseModel, Error<GetByServiceAccountError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_service_account<'a, 'life0, 'async_trait>(
&'life0 self,
service_account_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountCountsResponseModel, Error<GetByServiceAccountError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /service-accounts/{serviceAccountId}/sm-counts
Auto Trait Implementations§
impl Freeze for CountsApiClient
impl !RefUnwindSafe for CountsApiClient
impl Send for CountsApiClient
impl Sync for CountsApiClient
impl Unpin for CountsApiClient
impl !UnwindSafe for CountsApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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