pub struct LicensesApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl LicensesApiClient
impl LicensesApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl LicensesApi for LicensesApiClient
impl LicensesApi for LicensesApiClient
Source§fn get_user<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
key: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<UserLicense, Error<GetUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_user<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
key: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<UserLicense, Error<GetUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /licenses/user/{id}
Source§fn organization_sync<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
self_hosted_organization_license_request_model: Option<SelfHostedOrganizationLicenseRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error<OrganizationSyncError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn organization_sync<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
self_hosted_organization_license_request_model: Option<SelfHostedOrganizationLicenseRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error<OrganizationSyncError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /licenses/organization/{id}
Auto Trait Implementations§
impl Freeze for LicensesApiClient
impl !RefUnwindSafe for LicensesApiClient
impl Send for LicensesApiClient
impl Sync for LicensesApiClient
impl Unpin for LicensesApiClient
impl UnsafeUnpin for LicensesApiClient
impl !UnwindSafe for LicensesApiClient
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